git.cweiske.de
/
shpub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debug option to print curl requests
[shpub.git]
/
src
/
shpub
/
Config.php
diff --git
a/src/shpub/Config.php
b/src/shpub/Config.php
index d41e45dc2a3495179fb797eb185d471a0b8e015f..c9ebb4d783655e1d1544286be2b86f47a5b612fd 100644
(file)
--- a/
src/shpub/Config.php
+++ b/
src/shpub/Config.php
@@
-12,6
+12,8
@@
class Config
*/
public $host;
+ public $debug = false;
+
protected function getConfigFilePath()
{
if (!isset($_SERVER['HOME'])) {
@@
-114,5
+116,10
@@
class Config
}
return '"' . $val . '"';
}
+
+ public function setDebug($debug)
+ {
+ $this->debug = $debug;
+ }
}
?>