cvs: php-gtk-web /include shared-manual.inc

From: Date: Tue, 27 Nov 2001 12:53:08 +0000
Subject: cvs: php-gtk-web /include shared-manual.inc
Groups: php.gtk.webmaster 
Request: Send a blank email to php-gtk-webmaster+get-180@lists.php.net to get a copy of this message
jmoore Tue Nov 27 07:53:08 2001 EDT Modified files: /php-gtk-web/include shared-manual.inc Log: Fix the hack Index: php-gtk-web/include/shared-manual.inc diff -u php-gtk-web/include/shared-manual.inc:1.50 php-gtk-web/include/shared-manual.inc:1.51 --- php-gtk-web/include/shared-manual.inc:1.50 Tue Nov 27 07:01:52 2001 +++ php-gtk-web/include/shared-manual.inc Tue Nov 27 07:53:08 2001 @@ -384,9 +384,10 @@ function sendManualHeaders($charset,$lang) { global $LANG; + global $PHP_SELF; $LANG = $lang; /* HACK */ - if(stristr($PATH_INFO, "/de/") === TRUE) + if(stristr($PHP_SELF, "/de/") !== FALSE) { Header("Content-type: text/html;charset=UTF-8"); Header("Content-language: de"); @@ -409,6 +410,7 @@ if (!$HTDIG) { navigationBar($title, $id, "top"); } + } function manualFooter($title,$id="") {

« previous php.gtk.webmaster (#180) next »