|------------------------------------------------
*/
require_once BASEPATH . 'libraries/Benchmark' . EXT;
$BM = new _Benchmark('code_igniter_start');
/*
|------------------------------------------------
| Instantiate the Config File class
|------------------------------------------------
|
*/
require_once APPPATH . 'config/config' . EXT;
if (!isset($config) or !is_array($config)) {
    show_error('Your config file does not appear to be formatted correctly.');
}
require_once BASEPATH . 'libraries/Config' . EXT;
$CFG = new _Config();
/*
|------------------------------------------------
| Determine the routing
|------------------------------------------------
|
| The Router class will parse the URI and the
| routing matrix to determine which app controller
| should be loaded.
|
*/
require_once BASEPATH . 'libraries/Router' . EXT;
$RTR = new _Router($CFG->item('uri_protocol'));
/*
|------------------------------------------------
| Load the Output Class
Exemplo n.º 2
0
Arquivo: config.php Projeto: pihizi/qf
 static function clear()
 {
     self::$items = array();
     //清空
 }