mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
- bugfix PATH_SEPARATOR was replaced by mistake in autoloader
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
- move $smarty->append() and $smarty->appendByRef() into extension
|
- move $smarty->append() and $smarty->appendByRef() into extension
|
||||||
- optimize autoloader
|
- optimize autoloader
|
||||||
- optimize file path normalization
|
- optimize file path normalization
|
||||||
|
- bugfix PATH_SEPARATOR was replaced by mistake in autoloader
|
||||||
|
|
||||||
27.06.2015
|
27.06.2015
|
||||||
- bugfix resolve naming conflict between custom Smarty delimiter '<%' and PHP ASP tags https://github.com/smarty-php/smarty/issues/64
|
- bugfix resolve naming conflict between custom Smarty delimiter '<%' and PHP ASP tags https://github.com/smarty-php/smarty/issues/64
|
||||||
|
@@ -74,7 +74,7 @@ class Smarty_Autoloader
|
|||||||
if (!defined('SMARTY_SPL_AUTOLOAD')) {
|
if (!defined('SMARTY_SPL_AUTOLOAD')) {
|
||||||
define('SMARTY_SPL_AUTOLOAD', 0);
|
define('SMARTY_SPL_AUTOLOAD', 0);
|
||||||
}
|
}
|
||||||
if (SMARTY_SPL_AUTOLOAD && set_include_path(get_include_path() . DIRECTORY_SEPARATOR . SMARTY_SYSPLUGINS_DIR) !== false) {
|
if (SMARTY_SPL_AUTOLOAD && set_include_path(get_include_path() . PATH_SEPARATOR . SMARTY_SYSPLUGINS_DIR) !== false) {
|
||||||
$registeredAutoLoadFunctions = spl_autoload_functions();
|
$registeredAutoLoadFunctions = spl_autoload_functions();
|
||||||
if (!isset($registeredAutoLoadFunctions['spl_autoload'])) {
|
if (!isset($registeredAutoLoadFunctions['spl_autoload'])) {
|
||||||
spl_autoload_register();
|
spl_autoload_register();
|
||||||
|
Reference in New Issue
Block a user