HOR-2604
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
Deny from all
|
Deny from all
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
||||||
<FilesMatch "^(app|sysGeneric)\.php$">
|
<FilesMatch "^(app|sysGeneric|gmail)\.php">
|
||||||
Order Allow,Deny
|
Order Allow,Deny
|
||||||
Allow from All
|
Allow from All
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
@@ -117,6 +117,10 @@ if (file_exists($requestFile)) {
|
|||||||
header( "location: /errors/error404.php?url=" . urlencode( $_SERVER['REQUEST_URI'] ) );
|
header( "location: /errors/error404.php?url=" . urlencode( $_SERVER['REQUEST_URI'] ) );
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
if ($request === "app.php" || $request === "sysGeneric.php") {
|
||||||
|
//HTTP/1.0 403 Forbidden
|
||||||
|
http_response_code(403);
|
||||||
|
}
|
||||||
$pos = strripos($request, ".") + 1;
|
$pos = strripos($request, ".") + 1;
|
||||||
$size = strlen($request);
|
$size = strlen($request);
|
||||||
if($pos < $size) {
|
if($pos < $size) {
|
||||||
|
|||||||
Reference in New Issue
Block a user