mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
- bugfix make directory separator operating system independend in compileAllTemplates()
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
22/03/2010
|
||||
- bugfix make directory separator operating system independend in compileAllTemplates()
|
||||
|
||||
21/03/2010
|
||||
- removed unused code in compileAllTemplates()
|
||||
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user