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