diff options
Diffstat (limited to 'system/init/init_xmlrpcs.php')
-rw-r--r-- | system/init/init_xmlrpcs.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/system/init/init_xmlrpcs.php b/system/init/init_xmlrpcs.php deleted file mode 100644 index a900894aa..000000000 --- a/system/init/init_xmlrpcs.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates XML-RPC server class - * - * @access private called by the app controller - */ - -$config = array(); -if (file_exists(APPPATH.'config/xmlrpcs'.EXT)) -{ - include_once(APPPATH.'config/xmlrpcs'.EXT); -} - -if ( ! class_exists('CI_XML_RPC_Server')) -{ - require_once(BASEPATH.'libraries/Xmlrpc'.EXT); - require_once(BASEPATH.'libraries/Xmlrpcs'.EXT); -} - - - -// INITIALIZE THE CLASS --------------------------------------------------- - -$obj =& get_instance(); -$obj->xmlrpc = new CI_XML_RPC(); -$obj->xmlrpcs = new CI_XML_RPC_Server($config); -$obj->ci_is_loaded[] = 'xmlrpc'; -$obj->ci_is_loaded[] = 'xmlrpcs'; - -// ------------------------------------------------------------------------ - -?>
\ No newline at end of file |