*/
public $host;
+ public $debug = false;
+
protected function getConfigFilePath()
{
if (!isset($_SERVER['HOME'])) {
}
foreach ($this->hosts as $key => $host) {
if ($host->default) {
- return $host;
+ return $key;
}
}
}
return '"' . $val . '"';
}
+
+ public function setDebug($debug)
+ {
+ $this->debug = $debug;
+ }
}
?>