我希望在我的CI项目中包含响应式文件管理器(使用独立文件管理器)。当我尝试:
$this->load->helper(array('path'));
$this->load->file('filemanager/dialog.php');
我有错误:
致命错误:无法在C:\ xampp \ htdocs \ cms \ filemanager \ include \ utils.php中重新声明is_really_writable()(之前在C:\ xampp \ htdocs \ myapp \ system \ core \ Common.php:91中声明) 890
当我尝试函数include或require时,同样的错误。请帮忙。
此错误表示您的功能已定义;这可能意味着:
为了帮助解决第三点,解决方案是在包含functions.php文件时使用include_once而不是include - 因此它不能包含多次。