mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 20:24:18 +02:00
- bugfix remove constant DS as shortcut for DIRECTORY_SEPARATOR as the user may have defined it to something else https://github.com/smarty-php/smarty/issues/277
This commit is contained in:
@@ -73,7 +73,7 @@ class Smarty_Internal_Method_CompileAllTemplates
|
||||
continue;
|
||||
}
|
||||
if ($_fileinfo->getPath() !== substr($_dir, 0, - 1)) {
|
||||
$_file = substr($_fileinfo->getPath(), strlen($_dir)) . DS . $_file;
|
||||
$_file = substr($_fileinfo->getPath(), strlen($_dir)) . $smarty->ds . $_file;
|
||||
}
|
||||
echo "\n<br>", $_dir, '---', $_file;
|
||||
flush();
|
||||
|
||||
Reference in New Issue
Block a user