Improved register_globals

pull/1/head
root 16 years ago
parent 38798bab77
commit f50a5494eb

@ -17,9 +17,9 @@
*/ ?>
<?
$errmsg = _("The CAcert root certificate was successfully installed");
if($_REQUEST['errid'] == 1)
$errmsg = _("Can't start the CEnroll control:").' '.substr(strip_tags($_REQUEST['hex']), 0, 5);
if($_REQUEST['errid'] == 2)
$errmsg = _("Problems were detected with the CAcert root certificate download error:").' '.substr(strip_tags($_REQUEST['hex']), 0, 5);
if(array_key_exists('errid',$_REQUEST) && $_REQUEST['errid'] == 1)
$errmsg = _("Can't start the CEnroll control:").' '.substr(strip_tags(array_key_exists('hex',$_REQUEST)?$_REQUEST['hex']:""), 0, 5);
if(array_key_exists('errid',$_REQUEST) && $_REQUEST['errid'] == 2)
$errmsg = _("Problems were detected with the CAcert root certificate download error:").' '.substr(strip_tags(array_key_exists('hex',$_REQUEST)?$_REQUEST['hex']:""), 0, 5);
?>
<p><?=$errmsg?></p>

Loading…
Cancel
Save