UpdateDatabase.php
authoredward <edward@roojs.com>
Thu, 14 Jul 2016 06:11:11 +0000 (14:11 +0800)
committeredward <edward@roojs.com>
Thu, 14 Jul 2016 06:11:11 +0000 (14:11 +0800)
UpdateDatabase.php

index 0387efa..9176712 100644 (file)
@@ -131,15 +131,15 @@ 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();
-//        }
+        if(!empty($ff->Core_Notify)){
+            require_once 'Pman/Core/NotifySmtpCheck.php';
+            $x = new Pman_Core_NotifySmtpCheck();
+            $x->check();
+        }
         
         $this->disabled = explode(',', $ff->disable);