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; }
public function __construct($name = 'create:module') { parent::__construct($name); $this->appRoot = dirname($_SERVER['SCRIPT_FILENAME']) . DIRECTORY_SEPARATOR . 'App' . DIRECTORY_SEPARATOR; }