Example #1
0
 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';
 }
Example #2
0
 /**
  * @param \Phalcon\DI\FactoryDefault $di
  */
 public function registerServices($di)
 {
     parent::registerSecurityServices($di, new Security($di));
 }