summaryrefslogtreecommitdiffstats
path: root/system/libraries/Xmlrpc.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-26 05:52:45 +0200
committeradmin <devnull@localhost>2006-09-26 05:52:45 +0200
commite79dc7130a0003a07833609487b8ebb5ebcf31c8 (patch)
tree8400c41761ddcd7a9338637eefc9429d501d87ff /system/libraries/Xmlrpc.php
parent30c3b9709a12b7346c7057e656a491ffb9168f55 (diff)
Diffstat (limited to 'system/libraries/Xmlrpc.php')
-rw-r--r--system/libraries/Xmlrpc.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index 9eeb46a15..b470f720a 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -18,6 +18,19 @@ if ( ! function_exists('xml_parser_create'))
show_error('Your PHP installation does not support XML');
}
+// INITIALIZE THE CLASS ---------------------------------------------------
+
+$config = array();
+if (file_exists(APPPATH.'config/xmlrpc'.EXT))
+{
+ include_once(APPPATH.'config/xmlrpc'.EXT);
+}
+
+$obj =& get_instance();
+$obj->xmlrpc = new CI_XML_RPC($config);
+
+// ------------------------------------------------------------------------
+
/**
* XML-RPC request handler class
*