JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
factored out to/from _raw() to binary.php fixed .htaccess for metaform
[wfpl.git] / file_run.php
index e177797..d69b5b6 100644 (file)
@@ -40,7 +40,9 @@ function file_run($filename) {
        require_once($filename);
        $func = basename($filename, '.php') . '_main';
 
-       return $func();
+       if(function_exists($func)) {
+               return $func();
+       }
 }
 
 ?>