Zeile 34 | Zeile 34 |
---|
{ global $cache, $plugins; $pluginlist = $cache->read("plugins");
|
{ global $cache, $plugins; $pluginlist = $cache->read("plugins");
|
if(is_array($pluginlist['active']))
| if(!empty($pluginlist['active']) && is_array($pluginlist['active']))
|
{ foreach($pluginlist['active'] as $plugin) {
| { foreach($pluginlist['active'] as $plugin) {
|
Zeile 80 | Zeile 80 |
---|
*/ function run_hooks($hook, &$arguments="") {
|
*/ function run_hooks($hook, &$arguments="") {
|
if(!is_array($this->hooks[$hook]))
| if(!isset($this->hooks[$hook]) || !is_array($this->hooks[$hook]))
|
{ return $arguments; }
| { return $arguments; }
|