@session_start();
}
+ startup_gettext();
+
if (!init_plugins()) return;
+ if ($_SESSION["uid"]) {
+ load_user_plugins( $_SESSION["uid"]);
+ }
+
$method = strtolower($_REQUEST["op"]);
- $handler = new API(Db::get(), $_REQUEST);
+ $handler = new API($_REQUEST);
if ($handler->before($method)) {
if ($method && method_exists($handler, $method)) {