- new extension handler to load functions when called

This commit is contained in:
uwetews
2015-10-24 05:02:24 +02:00
parent eec7639c9c
commit 888014b908
41 changed files with 1222 additions and 442 deletions
+1 -1
View File
@@ -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;