mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
- bugfix change of 23.08.2016 failed on linux when use_include_path = true
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user