public function __construct()
 {
     parent::__construct();
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     $version = administration::getCurrentVersion();
     require '_upgrade.php';
 }
 public function __construct()
 {
     parent::__construct();
     $this->_loginUrl = 'http://' . CHAUDIERE . '/index.cgi';
     $this->_cookies = CONTEXT . '/_tmp/cookies_boiler.txt';
 }
 /**
  * Create new instance
  *
  * @param string $tempDir
  * @param string $installDir
  * @param int $maxExecutionTime
  */
 public function __construct($tempDir = null, $installDir = null, $maxExecutionTime = 120)
 {
     parent::__construct();
     // Init logger
     //$this->log->info('Class '.__CLASS__.' | '.__FUNCTION__);
     //$this->_log->pushHandler(new NullHandler());
     $this->setTempDir('_tmp');
     $this->setInstallDir(CONTEXT);
     $this->_latestVersion = new version('0.0.0');
     $this->_currentVersion = new version('0.0.0');
     // Init cache
     //$this->_cache = new Cache(new NotCache());
     ini_set('max_execution_time', $maxExecutionTime);
 }
 public function __construct()
 {
     parent::__construct();
     $version = "1.7.2";
     require '_upgrade.php';
 }