예제 #1
0
 public function unset_file($file)
 {
     $this->connect();
     $this->recursive_remove($file, false);
     Helpers::logmessage("Deleted: {$file}");
 }
예제 #2
0
 public static function log($msg)
 {
     parent::logmessage($msg);
 }
예제 #3
0
파일: App.php 프로젝트: rudraks/application
 public static function println($msg)
 {
     Helpers::logmessage($msg);
 }
예제 #4
0
 protected function set_current_commit($target_commit, $list_only = false)
 {
     if (!$list_only) {
         $this->set_file('REVISION', $target_commit);
         $this->set_file('PREVIOUS_REVISION', empty($this->current_commit) ? $target_commit : $this->current_commit);
     }
     if (isset($this->server['maintenance_file'])) {
         $this->set_file($this->server['maintenance_file'], $this->server['maintenance_off_value']);
         Helpers::logmessage("Turned maintenance mode off.");
     }
     Helpers::logmessage("Finished working on: {$this->host}");
     $this->disconnect();
 }