function _is_compiled($resource_name, $compile_path) { if (!empty($this->strict_resources)) { foreach ($this->strict_resources as $rule) { if (preg_match($rule, $resource_name)) { return false; } } } $result = parent::_is_compiled($resource_name, $compile_path); if ($result && $this->compile_check_md5) { return $this->_check_compiled_md5($compile_path); } return $result; }
function _is_compiled($resource_name, $compile_path) { if (!isset($this->_is_compiled_cache[$resource_name])) { $this->_is_compiled_cache[$resource_name] = Smarty::_is_compiled($resource_name, $compile_path); } return $this->_is_compiled_cache[$resource_name]; }
function _is_compiled($resource_name, $compile_path) { if ($this->fetch_compile) { return parent::_is_compiled($resource_name, $compile_path); } return false; }