diff --git a/change_log.txt b/change_log.txt index 7ef7975f..dbdbeb92 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,7 @@ ===== 3.1.31-dev ===== (xx.xx.xx) + 26.08.2016 + - bugfix change of 23.08.2016 failed on linux when use_include_path = true + 23.08.2016 - bugfix remove constant DS as shortcut for DIRECTORY_SEPARATOR as the user may have defined it to something else https://github.com/smarty-php/smarty/issues/277 diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index f0c0b50d..c08eb747 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -114,7 +114,7 @@ class Smarty extends Smarty_Internal_TemplateBase /** * smarty version */ - const SMARTY_VERSION = '3.1.31-dev/6'; + const SMARTY_VERSION = '3.1.31-dev/7'; /** * define variable scopes diff --git a/libs/sysplugins/smarty_internal_runtime_getincludepath.php b/libs/sysplugins/smarty_internal_runtime_getincludepath.php index 97c97778..e12b0c57 100644 --- a/libs/sysplugins/smarty_internal_runtime_getincludepath.php +++ b/libs/sysplugins/smarty_internal_runtime_getincludepath.php @@ -84,7 +84,7 @@ class Smarty_Internal_Runtime_GetIncludePath if ($this->_include_path != $_i_path) { $this->_include_dirs = array(); $this->_include_path = $_i_path; - $_dirs = (array) explode($smarty->ds, $_i_path); + $_dirs = (array) explode(PATH_SEPARATOR, $_i_path); foreach ($_dirs as $_path) { if (is_dir($_path)) { $this->_include_dirs[] = $smarty->_realpath($_path . $smarty->ds, true);