mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
Issue #6 LANS added. Clear system cache before checking for updates. Extra checks to e_parse to avoid possible errors.
This commit is contained in:
@@ -5425,11 +5425,13 @@ class e_parse
|
||||
require_once(e_PLUGIN . $hook . '/e_tohtml.php');
|
||||
|
||||
$hook_class = 'e_tohtml_' . $hook;
|
||||
|
||||
$this->e_hook[$hook] = new $hook_class;
|
||||
if(class_exists($hook_class))
|
||||
{
|
||||
$this->e_hook[$hook] = new $hook_class;
|
||||
}
|
||||
}
|
||||
|
||||
if(is_object($this->e_hook[$hook]))
|
||||
if(isset($this->e_hook[$hook]) && is_object($this->e_hook[$hook]))
|
||||
{
|
||||
/** @var e_tohtml_linkwords $deprecatedHook */
|
||||
$deprecatedHook = $this->e_hook[$hook];
|
||||
|
Reference in New Issue
Block a user