summaryrefslogtreecommitdiff
path: root/public.php
diff options
context:
space:
mode:
Diffstat (limited to 'public.php')
-rw-r--r--public.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/public.php b/public.php
index c2de2185f..3b0d064b6 100644
--- a/public.php
+++ b/public.php
@@ -1,4 +1,6 @@
<?php
+ set_include_path(get_include_path() . PATH_SEPARATOR . "include");
+
/* remove ill effects of magic quotes */
if (get_magic_quotes_gpc()) {
@@ -18,7 +20,6 @@
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";
@@ -42,7 +43,7 @@
init_connection($link);
- $subop = $_REQUEST["subop"];
+ $method = $_REQUEST["method"];
$mode = $_REQUEST["mode"];
if ((!$op || $op == "rss" || $op == "dlg") && !$_REQUEST["noxml"]) {