Reputation: 1
I want including Responsive file manager on my CI project (using as Stand-alone file manager). When I try:
$this->load->helper(array('path'));
$this->load->file('filemanager/dialog.php');
I have error:
Fatal error: Cannot redeclare is_really_writable() (previously declared in C:\xampp\htdocs\myapp\system\core\Common.php:91) in C:\xampp\htdocs\cms\filemanager\include\utils.php on line 890
The same error is when I try function include or require. Please help.
Upvotes: 0
Views: 1733
Reputation: 280
This errors says your function is already defined ; which can mean :
To help with the third point, a solution would be to use include_once instead of include when including your functions.php file -- so it cannot be included more than once.
Upvotes: 1