- bugfix make directory separator operating system independend in compileAllTemplates()

This commit is contained in:
Uwe.Tews
2010-03-22 16:12:18 +00:00
parent 56d054b743
commit 7f64fdc593
2 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
22/03/2010
- bugfix make directory separator operating system independend in compileAllTemplates()
21/03/2010
- removed unused code in compileAllTemplates()

View File

@@ -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 '<br>', $_dir, '---', $_template_file;
flush();