mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
fix broken search stuff
This commit is contained in:
@@ -9,7 +9,7 @@ if (get_magic_quotes_gpc()) $function = stripslashes($function);
|
||||
|
||||
$function = strtolower($function);
|
||||
|
||||
if (!isset($lang)) $lang = default_language();
|
||||
if (empty($lang)) $lang = default_language();
|
||||
|
||||
$file = find_manual_page($lang, $function);
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ require_once 'prepend.inc';
|
||||
$NUMACROSS = 2;
|
||||
$SHOW_CLOSE = 10;
|
||||
|
||||
if (!isset($lang)) $lang = default_language();
|
||||
if (empty($lang)) $lang = default_language();
|
||||
if (!file_exists("$DOCUMENT_ROOT/manual/$lang")) $lang = "en";
|
||||
|
||||
function makeTable($lang,$array) {
|
||||
|
||||
Reference in New Issue
Block a user