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:
d8e80ae
)
work with .htm suffix
author
Jason Woofenden
<jason@jasonwoof.com>
Sun, 15 Jul 2012 20:21:32 +0000
(16:21 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sun, 15 Jul 2012 20:21:32 +0000
(16:21 -0400)
run.php
patch
|
blob
|
history
diff --git
a/run.php
b/run.php
index
32f78e1
..
a310e3f
100644
(file)
--- a/
run.php
+++ b/
run.php
@@
-72,7
+72,7
@@
function run_php($dest = false) {
} else { # no dest arg
$basename = $_SERVER['REDIRECT_URL'];
$basename = ereg_replace('.*/', '', $basename);
- $basename = ereg_replace('\.html$', '', $basename);
+ $basename = ereg_replace('\.html?$', '', $basename);
if($basename == '') {
$basename = 'index';
}