1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Quick fix for the languages issue. Now we have a $LANG var contanining

the language to use...
This commit is contained in:
Gabor Hojtsy
2003-03-06 18:13:15 +00:00
parent c56c9424c6
commit 9cad282a3b

View File

@@ -4,8 +4,8 @@ require_once 'prepend.inc';
$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;