Update Debug.php
这个提交包含在:
父节点
6a80ed8338
当前提交
cd03e77483
共有 1 个文件被更改,包括 0 次插入 和 3 次删除
|
|
@ -7,9 +7,6 @@ class Debug extends CI_Controller {
|
|||
|
||||
$this->load->model('user_model');
|
||||
if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
|
||||
if(ENVIRONMENT != "development") {
|
||||
show_error("You must have global enviroment set to development", '403', $heading = 'An Error Was Encountered');
|
||||
}
|
||||
}
|
||||
|
||||
/* User Facing Links to Backup URLs */
|
||||
|
|
|
|||
正在加载…
在新工单中引用