<?php
+ set_include_path(get_include_path() . PATH_SEPARATOR . "include");
+
/* remove ill effects of magic quotes */
if (get_magic_quotes_gpc()) {
require_once "functions.php";
if ($op != "share") require_once "sessions.php";
- require_once "modules/backend-rpc.php";
require_once "sanity_check.php";
require_once "config.php";
require_once "db.php";
init_connection($link);
- $subop = $_REQUEST["subop"];
+ $method = $_REQUEST["method"];
$mode = $_REQUEST["mode"];
if ((!$op || $op == "rss" || $op == "dlg") && !$_REQUEST["noxml"]) {