some variable wasn't declared as global ones.

This commit is contained in:
Loïc Chapeaux
2001-09-26 19:24:59 +00:00
parent be31b5a521
commit c4c48770e1

View File

@@ -73,10 +73,10 @@ if (!defined('__LIB_COMMON__')){
header('HTTP/1.0 401 Unauthorized');
header('status: 401 Unauthorized');
echo '<?xml version="1.0" encoding="' . strtoupper($charset) . '"?>' . "\n";
echo '<?xml version="1.0" encoding="' . strtoupper($GLOBALS['charset']) . '"?>' . "\n";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][2]; ?>" lang="<?php echo $available_languages[$lang][2]; ?>">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][2]; ?>" lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][2]; ?>">
<head>
<title><?php echo $GLOBALS['strAccessDenied']; ?></title>