diff --git a/change_log.txt b/change_log.txt index 1a32a694..18d7647f 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,6 @@ +22/03/2010 +- bugfix make directory separator operating system independend in compileAllTemplates() + 21/03/2010 - removed unused code in compileAllTemplates() diff --git a/libs/sysplugins/smarty_internal_utility.php b/libs/sysplugins/smarty_internal_utility.php index 253f9d2d..d63762c2 100644 --- a/libs/sysplugins/smarty_internal_utility.php +++ b/libs/sysplugins/smarty_internal_utility.php @@ -75,7 +75,7 @@ class Smarty_Internal_Utility { if ($_fileinfo->getPath() == substr($_dir, 0, -1)) { $_template_file = $_file; } else { - $_template_file = substr($_fileinfo->getPath(), strlen($_dir)) . '\\' . $_file; + $_template_file = substr($_fileinfo->getPath(), strlen($_dir)) . DS . $_file; } echo '
', $_dir, '---', $_template_file; flush();