mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
use absolute path normalizaion
This commit is contained in:
@@ -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);
|
||||
$this->_include_dirs[] = $smarty->_realpath($_path . $smarty->ds, true);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user