enable_profiler不能显示SQL
我用控制器中激了分析器:“$this->output->enable_profiler(TRUE);”但在页面下方的SQL显示块中却是如下字样:“Database driver is not currently loaded
”
我看不到运行的SQL,求解 你没加载数据库类,怎么加载看手册 控制器中加载数据库类了:$this->load->model('mdbtest');
也试着这样写过:$this->load->model('17souba/mdbtest','',TRUE);
模型层是这们写的:$this->db = $this->load->database('default', TRUE);
页:
[1]