mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-09 12:54: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
|
21/03/2010
|
||||||
- removed unused code in compileAllTemplates()
|
- removed unused code in compileAllTemplates()
|
||||||
|
|
||||||
|
@@ -75,7 +75,7 @@ class Smarty_Internal_Utility {
|
|||||||
if ($_fileinfo->getPath() == substr($_dir, 0, -1)) {
|
if ($_fileinfo->getPath() == substr($_dir, 0, -1)) {
|
||||||
$_template_file = $_file;
|
$_template_file = $_file;
|
||||||
} else {
|
} else {
|
||||||
$_template_file = substr($_fileinfo->getPath(), strlen($_dir)) . '\\' . $_file;
|
$_template_file = substr($_fileinfo->getPath(), strlen($_dir)) . DS . $_file;
|
||||||
}
|
}
|
||||||
echo '<br>', $_dir, '---', $_template_file;
|
echo '<br>', $_dir, '---', $_template_file;
|
||||||
flush();
|
flush();
|
||||||
|
Reference in New Issue
Block a user