UpdateDatabase.php
authoredward <edward@roojs.com>
Thu, 14 Jul 2016 04:33:39 +0000 (12:33 +0800)
committeredward <edward@roojs.com>
Thu, 14 Jul 2016 04:33:39 +0000 (12:33 +0800)
UpdateDatabase.php

index 44da7ec..ee10758 100644 (file)
@@ -131,17 +131,17 @@ class Pman_Core_UpdateDatabase extends Pman
     {
         PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, array($this, 'onPearError'));
    
-//        $this->checkSystem();
+        $this->checkSystem();
    
         $ff = HTML_FlexyFramework::get();
         
-        if(!empty($ff->Core_Notify)){
-            require_once 'Pman/Core/NotifySmtpCheck.php';
-            $x = new Pman_Core_NotifySmtpCheck();
-            $x->check();
-        }
-        
-        EXIT;
+//        if(!empty($ff->Core_Notify)){
+//            require_once 'Pman/Core/NotifySmtpCheck.php';
+//            $x = new Pman_Core_NotifySmtpCheck();
+//            $x->check();
+//        }
+//        
+//        EXIT;
         
         $this->disabled = explode(',', $ff->disable);