cvs: phpweb / quickref.php

From: Date: Thu, 06 Mar 2003 18:13:15 +0000
Subject: cvs: phpweb / quickref.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-16159@lists.php.net to get a copy of this message
goba Thu Mar 6 13:13:15 2003 EDT Modified files: /phpweb quickref.php Log: Quick fix for the languages issue. Now we have a $LANG var contanining the language to use... Index: phpweb/quickref.php diff -u phpweb/quickref.php:1.20 phpweb/quickref.php:1.21 --- phpweb/quickref.php:1.20 Mon Dec 16 13:02:02 2002 +++ phpweb/quickref.php Thu Mar 6 13:13:15 2003 @@ -4,8 +4,8 @@ $NUMACROSS = 2; $SHOW_CLOSE = 10; -if (empty($lang)) $lang = default_language(); -if (!file_exists("$DOCUMENT_ROOT/manual/$lang")) $lang = "en"; +// A quick fix, the whole file needs a cleanup [Goba] +$lang = $LANG; function makeTable($lang,$array) { global $NUMACROSS;

« previous php.mirrors (#16159) next »