コード例 #1
0
ファイル: backend.php プロジェクト: asphix/icms2
 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/';
 }
コード例 #2
0
ファイル: backend.php プロジェクト: roman-burachenko/icms2
 function __construct($request)
 {
     $this->name = str_replace('backend', '', strtolower(get_called_class()));
     parent::__construct($request);
     $this->root_path = $this->root_path . 'backend/';
 }