Ejemplo n.º 1
0
 /**
  * @brief load up the installer lib
  *
  * The installer uses a lib that is shared between the frontend and shell
  * installer.
  *
  * @access public
  */
 public function __construct($request = null, $response = null)
 {
     parent::__construct($request, $response);
     InfinitasPlugin::loadForInstaller();
     App::uses('InstallerLib', 'Installer.Lib');
     $this->InstallerLib = new InstallerLib();
 }
Ejemplo n.º 2
0
 public function __construct($stdout = null, $stderr = null, $stdin = null)
 {
     $this->setTerminalWidth();
     App::import('Core', 'Router');
     InfinitasPlugin::loadForInstaller();
     parent::__construct($stdout, $stderr, $stdin);
     $this->__verbose = isset($this->params['verbose']) && $this->params['verbose'];
 }