diff options
Diffstat (limited to 'ratatoeskr/main.php')
-rw-r--r-- | ratatoeskr/main.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ratatoeskr/main.php b/ratatoeskr/main.php index 270537d..d3be695 100644 --- a/ratatoeskr/main.php +++ b/ratatoeskr/main.php @@ -20,14 +20,16 @@ require_once(dirname(__FILE__) . "/backend.php"); function ratatoeskr() { - global $backend_subactions, $ste, $url_handlers; + global $backend_subactions, $ste, $url_handlers, $ratatoeskr_settings; session_start(); if(!CONFIG_FILLED_OUT) return setup(); db_connect(); - $activeplugins = array_filter(PluginDB::all(), function($plugin) { return $plugin->active; }); + clean_database(); + + $activeplugins = array_filter(Plugin::all(), function($plugin) { return $plugin->active; }); $plugin_objs = array(); foreach($activeplugins as $plugin) { |