View file flashcat/admin/auth.php
<? if ($_conf[admin_login] != '' || $_conf[admin_passwd] != ''){ if(!isset($_SERVER['PHP_AUTH_USER'])) { header("WWW-Authenticate: Basic realm=\"Администратор\""); header("HTTP/1.0 401 Unauthorized"); die("Good bye!"); exit; } else { if ($_SERVER['PHP_AUTH_USER']!=$_conf[admin_login] || $_SERVER['PHP_AUTH_PW'] !=$_conf[admin_passwd]) { header("WWW-Authenticate: Basic realm=\"Администратор\""); header("HTTP/1.0 401 Unauthorized"); die("неверный пароль!"); } } } ?>