- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR

This commit is contained in:
Uwe Tews
2017-10-22 03:38:10 +02:00
parent 5ec2e1f62b
commit f7a5316205
12 changed files with 320 additions and 323 deletions
@@ -87,7 +87,7 @@ class Smarty_Internal_Runtime_GetIncludePath
$_dirs = (array) explode(PATH_SEPARATOR, $_i_path);
foreach ($_dirs as $_path) {
if (is_dir($_path)) {
$this->_include_dirs[] = $smarty->_realpath($_path . $smarty->ds, true);
$this->_include_dirs[] = $smarty->_realpath($_path . DIRECTORY_SEPARATOR, true);
}
}
return true;