diff options
Diffstat (limited to 'system/init')
-rw-r--r-- | system/init/index.html | 15 | ||||
-rw-r--r-- | system/init/init_calendar.php | 18 | ||||
-rw-r--r-- | system/init/init_email.php | 24 | ||||
-rw-r--r-- | system/init/init_encrypt.php | 18 | ||||
-rw-r--r-- | system/init/init_image_lib.php | 24 | ||||
-rw-r--r-- | system/init/init_pagination.php | 24 | ||||
-rw-r--r-- | system/init/init_parser.php | 19 | ||||
-rw-r--r-- | system/init/init_session.php | 18 | ||||
-rw-r--r-- | system/init/init_trackback.php | 18 | ||||
-rw-r--r-- | system/init/init_unit_test.php | 18 | ||||
-rw-r--r-- | system/init/init_upload.php | 24 | ||||
-rw-r--r-- | system/init/init_validation.php | 18 | ||||
-rw-r--r-- | system/init/init_xmlrpc.php | 24 | ||||
-rw-r--r-- | system/init/init_xmlrpcs.php | 33 |
14 files changed, 0 insertions, 295 deletions
diff --git a/system/init/index.html b/system/init/index.html deleted file mode 100644 index 5a1f5d6ae..000000000 --- a/system/init/index.html +++ /dev/null @@ -1,15 +0,0 @@ -<html>
-
-<head>
-
-<title>403 Forbidden</title>
-
-</head>
-
-<body bgcolor='#ffffff'>
-
-<p>Directory access is forbidden.<p>
-
-</body>
-
-</html>
\ No newline at end of file diff --git a/system/init/init_calendar.php b/system/init/init_calendar.php deleted file mode 100644 index 390b44007..000000000 --- a/system/init/init_calendar.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates calendar class - * - * @access private called by the app controller - */ - -if ( ! class_exists('CI_Calendar')) -{ - require_once(BASEPATH.'libraries/Calendar'.EXT); -} - -$obj =& get_instance(); -$obj->calendar = new CI_Calendar(); -$obj->ci_is_loaded[] = 'calendar'; - -?>
\ No newline at end of file diff --git a/system/init/init_email.php b/system/init/init_email.php deleted file mode 100644 index 6782310ef..000000000 --- a/system/init/init_email.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates email class - * - * @access private called by the app controller - */ - -$config = array(); -if (file_exists(APPPATH.'config/email'.EXT)) -{ - include_once(APPPATH.'config/email'.EXT); -} - -if ( ! class_exists('CI_Email')) -{ - require_once(BASEPATH.'libraries/Email'.EXT); -} - -$obj =& get_instance(); -$obj->email = new CI_Email($config); -$obj->ci_is_loaded[] = 'email'; - -?>
\ No newline at end of file diff --git a/system/init/init_encrypt.php b/system/init/init_encrypt.php deleted file mode 100644 index 5eae533ba..000000000 --- a/system/init/init_encrypt.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates encryption class - * - * @access private called by the app controller - */ - -if ( ! class_exists('CI_Encrypt')) -{ - require_once(BASEPATH.'libraries/Encrypt'.EXT); -} - -$obj =& get_instance(); -$obj->encrypt = new CI_Encrypt(); -$obj->ci_is_loaded[] = 'encrypt'; - -?>
\ No newline at end of file diff --git a/system/init/init_image_lib.php b/system/init/init_image_lib.php deleted file mode 100644 index dcd702f0d..000000000 --- a/system/init/init_image_lib.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates image manipulation class - * - * @access private called by the app controller - */ - -$config = array(); -if (file_exists(APPPATH.'config/image_lib'.EXT)) -{ - include_once(APPPATH.'config/image_lib'.EXT); -} - -if ( ! class_exists('CI_Image_lib')) -{ - require_once(BASEPATH.'libraries/Image_lib'.EXT); -} - -$obj =& get_instance(); -$obj->image_lib = new CI_Image_lib($config); -$obj->ci_is_loaded[] = 'image_lib'; - -?>
\ No newline at end of file diff --git a/system/init/init_pagination.php b/system/init/init_pagination.php deleted file mode 100644 index 3a7d9361c..000000000 --- a/system/init/init_pagination.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates pagination class - * - * @access private called by the app controller - */ - -$config = array(); -if ( ! class_exists('CI_Pagination')) -{ - if (file_exists(APPPATH.'config/pagination'.EXT)) - { - include_once(APPPATH.'config/pagination'.EXT); - } - - require_once(BASEPATH.'libraries/Pagination'.EXT); -} - -$obj =& get_instance(); -$obj->pagination = new CI_Pagination($config); -$obj->ci_is_loaded[] = 'pagination'; - -?>
\ No newline at end of file diff --git a/system/init/init_parser.php b/system/init/init_parser.php deleted file mode 100644 index 17824b566..000000000 --- a/system/init/init_parser.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates parser class - * - * @access private called by the app controller - */ - -if ( ! class_exists('CI_Parser')) -{ - require_once(BASEPATH.'libraries/Parser'.EXT); -} - -$obj =& get_instance(); -$obj->parser = new CI_Parser(); -$obj->ci_is_loaded[] = 'parser'; - - -?>
\ No newline at end of file diff --git a/system/init/init_session.php b/system/init/init_session.php deleted file mode 100644 index cf493e53c..000000000 --- a/system/init/init_session.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates session class - * - * @access private called by the app controller - */ - -if ( ! class_exists('CI_Session')) -{ - require_once(BASEPATH.'libraries/Session'.EXT); -} - -$obj =& get_instance(); -$obj->session = new CI_Session(); -$obj->ci_is_loaded[] = 'session'; - -?>
\ No newline at end of file diff --git a/system/init/init_trackback.php b/system/init/init_trackback.php deleted file mode 100644 index 6a3778bcc..000000000 --- a/system/init/init_trackback.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates trackback class - * - * @access private called by the app controller - */ - -if ( ! class_exists('CI_Trackback')) -{ - require_once(BASEPATH.'libraries/Trackback'.EXT); -} - -$obj =& get_instance(); -$obj->trackback = new CI_Trackback(); -$obj->ci_is_loaded[] = 'trackback'; - -?>
\ No newline at end of file diff --git a/system/init/init_unit_test.php b/system/init/init_unit_test.php deleted file mode 100644 index 61d5350b6..000000000 --- a/system/init/init_unit_test.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates unit testing class - * - * @access private called by the app controller - */ - -if ( ! class_exists('CI_Unit_test')) -{ - require_once(BASEPATH.'libraries/Unit_test'.EXT); -} - -$obj =& get_instance(); -$obj->unit = new CI_Unit_test(); -$obj->ci_is_loaded[] = 'unit'; - -?>
\ No newline at end of file diff --git a/system/init/init_upload.php b/system/init/init_upload.php deleted file mode 100644 index 495975c7a..000000000 --- a/system/init/init_upload.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates file uploading class - * - * @access private called by the app controller - */ - -$config = array(); -if ( ! class_exists('CI_Upload')) -{ - if (file_exists(APPPATH.'config/upload'.EXT)) - { - include_once(APPPATH.'config/upload'.EXT); - } - - require_once(BASEPATH.'libraries/Upload'.EXT); -} - -$obj =& get_instance(); -$obj->upload = new CI_Upload($config); -$obj->ci_is_loaded[] = 'upload'; - -?>
\ No newline at end of file diff --git a/system/init/init_validation.php b/system/init/init_validation.php deleted file mode 100644 index a320c3e5b..000000000 --- a/system/init/init_validation.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates validation class - * - * @access private called by the app controller - */ - -if ( ! class_exists('CI_Validation')) -{ - require_once(BASEPATH.'libraries/Validation'.EXT); -} - -$obj =& get_instance(); -$obj->validation = new CI_Validation(); -$obj->ci_is_loaded[] = 'validation'; - -?>
\ No newline at end of file diff --git a/system/init/init_xmlrpc.php b/system/init/init_xmlrpc.php deleted file mode 100644 index b75e9aad7..000000000 --- a/system/init/init_xmlrpc.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); - -/** - * Loads and instantiates XML-RPC request class - * - * @access private called by the app controller - */ - -$config = array(); -if (file_exists(APPPATH.'config/xmlrpc'.EXT)) -{ - include_once(APPPATH.'config/xmlrpc'.EXT); -} - -if ( ! class_exists('CI_XML_RPC')) -{ - require_once(BASEPATH.'libraries/Xmlrpc'.EXT); -} - -$obj =& get_instance(); -$obj->xmlrpc = new CI_XML_RPC($config); -$obj->ci_is_loaded[] = 'xmlrpc'; - -?>
\ No newline at end of file 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 |