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

index 387549c..5e907c2 100644 (file)
@@ -145,7 +145,7 @@ class Pman_Core_UpdateDatabase extends Pman
     
     function get($args, $opts=array())
     {
-        print_R($otps);
+        print_R($opts);
         
         PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, array($this, 'onPearError'));
    
@@ -176,15 +176,17 @@ class Pman_Core_UpdateDatabase extends Pman
         //$this->fixSequencesPgsql();exit;
         $this->opts = $opts;
         
-        // ask all the modules to verify the opts
-        
-        $this->checkOpts($opts);
-        
         if (!empty($opts['debug'])) {
             echo "Setting debug Level : {$opts['debug']}\n";
             DB_DataObject::DebugLevel($opts['debug']);
         }
+      
+        
+        // ask all the modules to verify the opts
+        
+        $this->checkOpts($opts);
         
+          
         
         // do this first, so the innodb change + utf8 fixes column max sizes