]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Set the C locate to avoid tr_TR php bug see http://www.topolis.lt/php/#35050
authormikec <mikec@mikenz.geek.nz>
Mon, 4 Aug 2008 13:37:27 +0000 (09:37 -0400)
committermikec <mikec@mikenz.geek.nz>
Mon, 4 Aug 2008 13:37:27 +0000 (09:37 -0400)
darcs-hash:20080804133727-edabd-4bd34431d0ab8519ec512b59be354720925da9a0.gz

lib/util.php

index 5e6d9fc6fa53445d9f2c2ebea9c931e516acf3d5..bd24d8ebdb2f70e3f92ff214d67b94e17a94d433 100644 (file)
@@ -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