blob: b75e9aad7917188319966030febc06491bfe5d9a [file] [log] [blame]
adminb0dd10f2006-08-25 17:25:49 +00001<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
2
3/**
4 * Loads and instantiates XML-RPC request class
5 *
6 * @access private called by the app controller
7 */
8
9$config = array();
10if (file_exists(APPPATH.'config/xmlrpc'.EXT))
11{
12 include_once(APPPATH.'config/xmlrpc'.EXT);
13}
14
15if ( ! class_exists('CI_XML_RPC'))
16{
17 require_once(BASEPATH.'libraries/Xmlrpc'.EXT);
18}
19
20$obj =& get_instance();
21$obj->xmlrpc = new CI_XML_RPC($config);
22$obj->ci_is_loaded[] = 'xmlrpc';
23
24?>