summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormikec <mikec@mikenz.geek.nz>2008-08-04 09:37:27 -0400
committermikec <mikec@mikenz.geek.nz>2008-08-04 09:37:27 -0400
commit369354505f19ee41ae2308fbc15f5ac96430c693 (patch)
tree152b47b361e3cfd83fb35c3e530ff6d938033b3c
parent4c8dfadf2d11373d9518fea94a05d4a04f74589e (diff)
Set the C locate to avoid tr_TR php bug see http://www.topolis.lt/php/#35050
darcs-hash:20080804133727-edabd-4bd34431d0ab8519ec512b59be354720925da9a0.gz
-rw-r--r--lib/util.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/util.php b/lib/util.php
index 5e6d9fc6f..bd24d8ebd 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -144,13 +144,7 @@ function common_init_language() {
bindtextdomain("laconica", $config['site']['locale_path']);
bind_textdomain_codeset("laconica", "UTF-8");
textdomain("laconica");
-}
-
-define('PAGE_TYPE_PREFS', 'text/html,application/xhtml+xml,application/xml;q=0.3,text/xml;q=0.2');
-
-function common_show_header($pagetitle, $callable=NULL, $data=NULL, $headercall=NULL) {
- global $config, $xw;
-
+
$httpaccept = isset($_SERVER['HTTP_ACCEPT']) ? $_SERVER['HTTP_ACCEPT'] : NULL;
# XXX: allow content negotiation for RDF, RSS, or XRDS