debug option to print curl requests
[shpub.git] / src / shpub / Config.php
index d41e45dc2a3495179fb797eb185d471a0b8e015f..c9ebb4d783655e1d1544286be2b86f47a5b612fd 100644 (file)
@@ -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;
+    }
 }
 ?>