UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Fri, 22 Jun 2018 04:04:08 +0000 (12:04 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 22 Jun 2018 04:04:08 +0000 (12:04 +0800)
UpdateDatabase.php

index e781832..6c6c2f0 100644 (file)
@@ -179,7 +179,8 @@ class Pman_Core_UpdateDatabase extends Pman
         $this->checkOpts($opts);
         
         if (!empty($opts['debug'])) {
-            DB_DataObject::DebugLevel(1);
+            echo "Setting debug Level : {$opts['debug']}\n";
+            DB_DataObject::DebugLevel($opts['debug']);
         }