在系统/核心/ Controller.php这样我看到下面的代码:哪里是Load方法在是CI_Controller
public function __construct()
{
self::$instance =& $this;
// Assign all the class objects that were instantiated by the
// bootstrap file (CodeIgniter.php) to local class variables
// so that CI can run as one big super object.
foreach (is_loaded() as $var => $class)
{
$this->$var =& load_class($class);
}
$this->load =& load_class('Loader', 'core');
$this->load->initialize();
log_message('info', 'Controller Class Initialized');
}
我试了很多时间去寻找加载方法,load_class()...
$this->load =& load_class('Loader', 'core');
$this->load->initialize();
他们在哪里?
转到'/系统/核心/ Loader.php'并运行'公共功能视图的搜索(','公共函数库(','公共函数模型('等。 – MonkeyZeus
目前还不清楚我还找不到答案 – TranLinh