Example #1
0
 public function __construct($admin)
 {
     $this->context = array("admin" => $admin->user_name, "log" => "cache/upgrade.log", "source_dir" => realpath(dirname(__FILE__) . "/../../"), 'new_source_dir' => realpath(dirname(__FILE__) . "/../../"), "zip" => "UNITTEST");
     parent::__construct();
     $this->init();
     $this->start();
 }
Example #2
0
 public function __construct($dir)
 {
     $this->context['source_dir'] = $dir;
     $this->context['log'] = "UpgradeWizard.log";
     $this->context['HealthCheckLog'] = "HealthCheck.log";
     $this->context['zip'] = '';
     // temporary
     parent::__construct();
 }