NotifySmtpCheck.php
[Pman.Core] / UpdateDatabase.php
index d1b98ee..44da7ec 100644 (file)
@@ -131,11 +131,17 @@ class Pman_Core_UpdateDatabase extends Pman
     {
         PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, array($this, 'onPearError'));
    
-        $this->checkSystem();
+//        $this->checkSystem();
    
         $ff = HTML_FlexyFramework::get();
         
-        print_R($ff);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);