CI文件加载顺序,在入口文件index.php中最末行经过php
require_once BASEPATH.'core/CodeIgniter.php';
引入CodeIgniter.php 文件,在该文件中依次加载了\system\core文件家的如下文件ui
Common.php、Benchmark.ph、Hooks.php、Config.php、compat文件夹、Utf8.php、URI.php、Router.php、Output.php、Security.php、Input.php、Lang.php
在以上文件加载完成以后,经过如下方式引入Controller.php文件url
require_once BASEPATH.'core/Controller.php';
至此,CI能够经过Application/controllers文件夹的控制器文件进行url访问程序it