mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-06 08:26:19 +02:00
- new extension handler to load functions when called
This commit is contained in:
@@ -514,7 +514,7 @@ class Smarty_Security
|
||||
}
|
||||
if ($this->smarty->use_include_path) {
|
||||
$this->_include_dir = array();
|
||||
$_dirs = Smarty_Internal_Get_Include_Path::getIncludePathDirs($this->smarty);
|
||||
$_dirs = $this->smarty->ext->_getIncludePath->getIncludePathDirs($this->smarty);
|
||||
foreach ($_dirs as $directory) {
|
||||
$this->_include_dir[] = $directory;
|
||||
$this->_resource_dir[$directory] = true;
|
||||
|
||||
Reference in New Issue
Block a user