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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user