fixes to surpress errors and avoid IP bans
This commit is contained in:
@@ -22,7 +22,7 @@ require valid-user
|
||||
Allow from all
|
||||
</FilesMatch>
|
||||
|
||||
<FilesMatch "\.(css|js|php|html)$">
|
||||
<FilesMatch "\.(css|js|php|html|htm|var)$">
|
||||
Order Allow,Deny
|
||||
Allow from all
|
||||
</FilesMatch>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
<?php
|
||||
// Reads variables of HTML form in index.php
|
||||
$ACTION = $_POST['action'];
|
||||
$USER = $_POST['user'];
|
||||
$PASS = $_POST['pass'];
|
||||
$USER = isset($_POST['user']) ? $_POST['user'] : ''; // surpress empty variable errors
|
||||
$PASS = isset($_POST['pass']) ? $_POST['pass'] : '';
|
||||
$SURE = $_POST['sure'];
|
||||
|
||||
// Sanitize variables
|
||||
|
||||
Reference in New Issue
Block a user