Process/Php7.php
[Pman.Core] / Process / Php7.php
index 9bb0e4e..45f225d 100644 (file)
@@ -22,7 +22,7 @@ class Pman_Core_Process_Php7 extends Pman
             die("CLI only");
         }
     }
-
+    
     function get($base, $opts = array()) 
     {
         $this->scan();
@@ -49,7 +49,13 @@ class Pman_Core_Process_Php7 extends Pman
                 continue;
             }
             
-            require_once implode('/', $route) . "/" . $d;
+//            require_once implode('/', $route) . "/" . $d;
+            
+            try {
+                require_once implode('/', $route) . "/" . $d;
+            } catch (ErrorException $ex) {
+                echo "Unable to load configuration file.";
+            }
             
         }