public function __construct() { parent::__construct(); $this->name = 'system'; $this->path = __DIR__; $this->namespace = array('Modules\\System\\Controllers' => $this->path . '/controllers/', 'Modules\\System\\Models' => $this->path . '/models/'); $this->default_namespace = 'Modules\\System\\Controllers'; }
/** * @param \Phalcon\DI\FactoryDefault $di */ public function registerServices($di) { parent::registerSecurityServices($di, new Security($di)); }