Esempio n. 1
0
 function __construct($request)
 {
     parent::__construct($request);
     $config = cmsConfig::getInstance();
     $this->name = str_replace('backend', '', $this->name);
     $this->root_path = $config->root_path . 'system/controllers/' . $this->name . '/backend/';
 }
Esempio n. 2
0
 function __construct($request)
 {
     $this->name = str_replace('backend', '', strtolower(get_called_class()));
     parent::__construct($request);
     $this->root_path = $this->root_path . 'backend/';
 }