git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c48d7e
)
page: skip head formatting for script overrides (edit)
author
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 12 Sep 2017 18:36:11 +0000
(20:36 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 18 Sep 2017 18:21:28 +0000
(20:21 +0200)
Can be included explicitly if wanted.
page.php
patch
|
blob
|
history
diff --git
a/page.php
b/page.php
index e2043edb4b4cd6ed3a30805f76637f9b213693e4..51ef900455c485d78bd770afaa59ea55d9ccce77 100644
(file)
--- a/
page.php
+++ b/
page.php
@@
-16,7
+16,7
@@
while (TRUE) {
if (file_exists("$Page.php")) {
# unformatted script override
require "$Page.php";
-
break
;
+
exit
;
}
$up = strrpos($Page, '/');