Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48805cd
)
file_run now REQUIRES that the main function have _main suffix
author
Jason Woofenden
<jason183@herkamire.com>
Fri, 14 Sep 2007 05:29:12 +0000
(
01:29
-0400)
committer
Jason Woofenden
<jason183@herkamire.com>
Fri, 14 Sep 2007 05:29:12 +0000
(
01:29
-0400)
file_run.php
patch
|
blob
|
history
diff --git
a/file_run.php
b/file_run.php
index
bca5c18
..
e177797
100644
(file)
--- a/
file_run.php
+++ b/
file_run.php
@@
-39,9
+39,6
@@
function file_run($filename) {
require_once($filename);
$func = basename($filename, '.php') . '_main';
- if(!function_exists($func)) {
- $func = basename($filename, '.php');
- }
return $func();
}