Added a permissions array to all the controllers that extends FHC_Controller

This commit is contained in:
Paolo
2018-03-21 15:33:39 +01:00
parent 1f2450cf17
commit e8bec1ebf5
17 changed files with 272 additions and 172 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ class DBTools extends FHC_Controller
*/
public function __construct()
{
parent::__construct();
// An empty array as parameter will ensure that this controller is ONLY callable from command line
parent::__construct(array());
$this->seed_path = APPPATH.'seeds/';