From 74201cb6158db6448ebf5d8330ace6ad4a139693 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Tue, 18 Dec 2007 01:35:40 +0000 Subject: cleaned up XML API errors so that they are always xml docs regardless --- lib/class/access.class.php | 2 ++ lib/init.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/class/access.class.php b/lib/class/access.class.php index b46b248b..2d1ac3e5 100644 --- a/lib/class/access.class.php +++ b/lib/class/access.class.php @@ -179,6 +179,7 @@ class Access { /* This is here because we want to at least check IP before even creating the xml-rpc server * however we don't have the key that was passed yet so we've got to do just ip */ + case 'init-rpc': case 'init-xml-rpc': $sql = "SELECT `id` FROM `access_list`" . " WHERE `start` <= '$ip' AND `end` >= '$ip' AND `type`='rpc' AND `level` >= '$level'"; @@ -189,6 +190,7 @@ class Access { " WHERE `start` <= '$ip' AND `end` >= '$ip'" . " AND `key` = '$key' AND `level` >= '$level' AND `type`='rpc'"; break; + case 'init-api': case 'network': case 'interface': case 'stream': diff --git a/lib/init.php b/lib/init.php index 28ac53d1..4796a615 100644 --- a/lib/init.php +++ b/lib/init.php @@ -81,7 +81,7 @@ if (!count($results)) { } /** This is the version.... fluf nothing more... **/ -$results['version'] = '3.4-Alpha4 Build (004)'; +$results['version'] = '3.4-Alpha4 Build (005)'; $results['int_config_version'] = '6'; $results['raw_web_path'] = $results['web_path']; -- cgit