mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
reset _is_file_cache
This commit is contained in:
@@ -953,7 +953,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
|||||||
foreach ((array) $plugins_dir as $k => $v) {
|
foreach ((array) $plugins_dir as $k => $v) {
|
||||||
$this->plugins_dir[$k] = rtrim($v, '/\\') . DS;
|
$this->plugins_dir[$k] = rtrim($v, '/\\') . DS;
|
||||||
}
|
}
|
||||||
|
$this->_is_file_cache = array();
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -985,7 +985,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->plugins_dir = array_unique($this->plugins_dir);
|
$this->plugins_dir = array_unique($this->plugins_dir);
|
||||||
|
$this->_is_file_cache = array();
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user