mirror of
https://github.com/psenough/pouet.net.git
synced 2025-01-17 05:08:24 +01:00
error.php: look up 'e' in
This commit is contained in:
parent
1e835bc12f
commit
e07bb2bc8d
@ -3,7 +3,7 @@ require("include/top.php");
|
||||
|
||||
if(!isset($back)) $back = '/';
|
||||
|
||||
switch($e)
|
||||
switch($_GET['e'])
|
||||
{
|
||||
case "password":
|
||||
case "Invalid password":
|
||||
@ -13,7 +13,7 @@ switch($e)
|
||||
$message="Bad username.";
|
||||
break;
|
||||
default:
|
||||
$message=htmlentities(stripslashes($e)); //"Undefined error.";
|
||||
$message=htmlentities(stripslashes($_GET['e'])); //"Undefined error.";
|
||||
break;
|
||||
}
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user