We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bfe13c5 + 7015c7d commit 36cc6d9Copy full SHA for 36cc6d9
1 file changed
template.php
@@ -43,7 +43,7 @@ function filename($template)
43
44
function _has_absolute_path($template)
45
{
46
- $begins_with_directory_separator = (DIRECTORY_SEPARATOR === $template{0});
+ $begins_with_directory_separator = (DIRECTORY_SEPARATOR === $template[0]);
47
$begins_with_windows_drive_letter = (':\\' === substr($template, 1, 2));
48
$begins_with_network_drive = ('\\\\' === substr($template, 0, 2));
49
return ($begins_with_directory_separator or $begins_with_windows_drive_letter or $begins_with_network_drive);
@@ -94,4 +94,4 @@ function compose($template)
94
return $content;
95
}
96
97
-?>
+?>
0 commit comments