aboutsummaryrefslogtreecommitdiffstats
path: root/library/Smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php')
-rw-r--r--library/Smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/Smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php b/library/Smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php
index 965c95f8b..72149cd35 100644
--- a/library/Smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php
+++ b/library/Smarty/libs/sysplugins/smarty_internal_runtime_getincludepath.php
@@ -86,9 +86,6 @@ class Smarty_Internal_Runtime_GetIncludePath
$this->_include_path = $_i_path;
$_dirs = (array) explode(PATH_SEPARATOR, $_i_path);
foreach ($_dirs as $_path) {
- if ($_path[0] != '/' && isset($dir[1]) && $dir[1] != ':') {
- $_path = $smarty->_realpath($_path . DS, true);
- }
if (is_dir($_path)) {
$this->_include_dirs[] = $smarty->_realpath($_path . DS, true);
}