NotifySmtpCheck.php
[Pman.Core] / UpdateDatabase.php
index 080a984..ee10758 100644 (file)
@@ -135,6 +135,14 @@ class Pman_Core_UpdateDatabase extends Pman
    
         $ff = HTML_FlexyFramework::get();
         
+//        if(!empty($ff->Core_Notify)){
+//            require_once 'Pman/Core/NotifySmtpCheck.php';
+//            $x = new Pman_Core_NotifySmtpCheck();
+//            $x->check();
+//        }
+//        
+//        EXIT;
+        
         $this->disabled = explode(',', $ff->disable);
         
         //$this->fixSequencesPgsql();exit;
@@ -192,7 +200,6 @@ class Pman_Core_UpdateDatabase extends Pman
         
         $ar = $this->modulesList();
         
-        
         foreach($ar as $m) {
             
             if(in_array($m, $this->disabled)){
@@ -963,16 +970,16 @@ class Pman_Core_UpdateDatabase extends Pman
     
     function checkSystem()
     {
+        // most of these are from File_Convert...
+        
         // these are required - and have simple dependancies.
         require_once 'System.php';
         $req = array( 
             'convert',
             'grep',
-
             'pdfinfo',
-            'pdftocairo',
             'pdftoppm',
-            'rsvg-convert',
+            'rsvg-convert',  //librsvg2-bin
             'strings',
         );
          
@@ -984,6 +991,8 @@ class Pman_Core_UpdateDatabase extends Pman
             'faad',
             'ffmpeg',
             'html2text', // not availabe in debian squeeze
+            'pdftocairo',  //poppler-utils - not available in debian squeeze.
+
             'lame',
             'ssconvert',
             'unoconv',