Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
disabled submit buttons in preview
[wfpl.git]
/
file_run.php
diff --git
a/file_run.php
b/file_run.php
index
e177797
..
d69b5b6
100644
(file)
--- a/
file_run.php
+++ b/
file_run.php
@@
-40,7
+40,9
@@
function file_run($filename) {
require_once($filename);
$func = basename($filename, '.php') . '_main';
- return $func();
+ if(function_exists($func)) {
+ return $func();
+ }
}
?>