git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
foto: translate tag album requests to .tag
[minimedit.git]
/
page.php
diff --git
a/page.php
b/page.php
index c313467ffe3076674dbe31631a0a25ebbcb29e72..8a37533f4c6e78e928980c5a92454f3e589be83d 100644
(file)
--- a/
page.php
+++ b/
page.php
@@
-60,7
+60,8
@@
if ($Page->editable = $User->admin("edit {$Page->link}")) {
include_once 'edit/head.inc.php';
}
include_once 'edit/head.inc.php';
}
-if (isset($Page->raw)) {
+if (isset($Page->raw)
+and @$_SERVER['HTTP_ACCEPT'] !== 'application/xml') {
$Page->raw = '<div class="static">'."\n\n".$Page->raw."</div>\n\n";
}
$Page->raw = '<div class="static">'."\n\n".$Page->raw."</div>\n\n";
}