public function __construct($name = 'create:pagecontroller')
 {
     parent::__construct($name);
     $this->modulesPath = dirname($_SERVER['SCRIPT_FILENAME']) . DIRECTORY_SEPARATOR . 'App' . DIRECTORY_SEPARATOR . 'Modules';
     $this->modulesPath = realpath($this->modulesPath) . DIRECTORY_SEPARATOR;
 }
Exemplo n.º 2
0
 public function __construct($name = 'create:module')
 {
     parent::__construct($name);
     $this->appRoot = dirname($_SERVER['SCRIPT_FILENAME']) . DIRECTORY_SEPARATOR . 'App' . DIRECTORY_SEPARATOR;
 }