if ($p['value'] and !$this->str_match($value,$p['value'])) continue;
if ($p['section'] and !$this->str_match($_section,$p['section'])) continue;
- if ($_section == 'PHP_VARIABLES'
- and preg_match('/^(.?_SERVER\[.)?(.' . $this->hide_keys_exp . ')(.\])?$/', $name)
+ if (
+ $_section == 'PHP_VARIABLES'
+ and preg_match('/^(._SERVER\[.)?(.' . $this->hide_keys_exp . ')(.\])?$/', $name)
) {
$value = $this->hide_keys_value;
}
unset($_SERVER['REMOTE_USER']);
#header('Content-type: text/html');
- if (empty($_REQUEST['realm'])) header('WWW-Authenticate: Basic');
- else header('WWW-Authenticate: Basic realm="'.$_REQUEST['realm'].'"');
+ if (!empty($_REQUEST['realm'])) header('WWW-Authenticate: Basic realm="'.$_REQUEST['realm'].'"');
+ else header('WWW-Authenticate: Basic');
- header('HTTP/1.1 401 Access Denied');
- header('HTTP/1.1 401 Unauthorized');
}
+ header('HTTP/1.1 401 Access Denied');
+ header('HTTP/1.1 401 Unauthorized');
if (1) echo <<<EOF
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function(event){