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
added enc_mmddyyyy() for text dates like 2008-05-22, fix name enc_ddmmyyyyhhmm()...
[wfpl.git]
/
file_run.php
diff --git
a/file_run.php
b/file_run.php
index
fd1d20f
..
e177797
100644
(file)
--- a/
file_run.php
+++ b/
file_run.php
@@
-37,10
+37,10
@@
# }
function file_run($filename) {
# }
function file_run($filename) {
- require_once($filename);
- ereg_replace('.*/', '', $filename);
- $func = basename($filename, '.php') . '_main';
- return $func();
+ require_once($filename);
+ $func = basename($filename, '.php') . '_main';
+
+ return $func();
}
?>
}
?>