mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-18 22:41:09 +02:00
make_init_params: add plugins
This commit is contained in:
parent
3e8a79be6d
commit
84e36b61a3
@ -75,6 +75,16 @@ class PluginHost {
|
|||||||
return $this->dbh;
|
return $this->dbh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function get_plugin_names() {
|
||||||
|
$names = array();
|
||||||
|
|
||||||
|
foreach ($this->plugins as $p) {
|
||||||
|
array_push($names, get_class($p));
|
||||||
|
}
|
||||||
|
|
||||||
|
return $names;
|
||||||
|
}
|
||||||
|
|
||||||
function get_plugins() {
|
function get_plugins() {
|
||||||
return $this->plugins;
|
return $this->plugins;
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
$params["bw_limit"] = (int) $_SESSION["bw_limit"];
|
$params["bw_limit"] = (int) $_SESSION["bw_limit"];
|
||||||
$params["label_base_index"] = (int) LABEL_BASE_INDEX;
|
$params["label_base_index"] = (int) LABEL_BASE_INDEX;
|
||||||
$params["theme"] = get_pref("USER_CSS_THEME", false, false);
|
$params["theme"] = get_pref("USER_CSS_THEME", false, false);
|
||||||
|
$params["plugins"] = implode(", ", PluginHost::getInstance()->get_plugin_names());
|
||||||
|
|
||||||
$params["php_platform"] = PHP_OS;
|
$params["php_platform"] = PHP_OS;
|
||||||
$params["php_version"] = PHP_VERSION;
|
$params["php_version"] = PHP_VERSION;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user