|
|
@ -7,6 +7,7 @@ class PluginHost {
|
|
|
|
private $commands = array();
|
|
|
|
private $commands = array();
|
|
|
|
private $storage = array();
|
|
|
|
private $storage = array();
|
|
|
|
private $owner_uid;
|
|
|
|
private $owner_uid;
|
|
|
|
|
|
|
|
private $debug;
|
|
|
|
|
|
|
|
|
|
|
|
const HOOK_ARTICLE_BUTTON = 1;
|
|
|
|
const HOOK_ARTICLE_BUTTON = 1;
|
|
|
|
const HOOK_ARTICLE_FILTER = 2;
|
|
|
|
const HOOK_ARTICLE_FILTER = 2;
|
|
|
@ -290,5 +291,13 @@ class PluginHost {
|
|
|
|
$_SESSION["plugin_storage"] = $this->storage;
|
|
|
|
$_SESSION["plugin_storage"] = $this->storage;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function set_debug($debug) {
|
|
|
|
|
|
|
|
$this->debug = $debug;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function get_debug() {
|
|
|
|
|
|
|
|
return $this->debug;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|