Exemplo n.º 1
0
 /**
  * @param array $config
  * @ignore
  */
 public function __construct($config = [])
 {
     self::configure($this, $config);
     // setup the registry
     $this->registryCache = Registry::createObject();
     if (empty($this->migrationPath)) {
         $this->migrationPath = sprintf('%smigrations%s', APPPATH, DIRECTORY_SEPARATOR);
     }
     if (empty($this->modelsPath)) {
         $this->modelsPath = sprintf('%smodels%s', APPPATH, DIRECTORY_SEPARATOR);
     }
 }