Skip to content

Commit

Permalink
* fixed signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Oct 17, 2017
1 parent bbae0c3 commit 508db95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// ini_set('display_startup_errors', 1);
// error_reporting(E_ALL);

if(preg_match("/^(.*)\.(gif|png|jpg|jpeg|tiff|bmp|css|js|less|map|html|php|zip|rar|gz)$/i", $_SERVER['REQUEST_URI'])) {
if(preg_match("/^(.*)\.(gif|jpg|jpeg|tiff|bmp|css|js|less|map|html|php|zip|rar|gz)$/i", $_SERVER['REQUEST_URI'])) {
header("HTTP/1.0 404 Not Found");
exit;
}
Expand Down Expand Up @@ -114,7 +114,7 @@
$_REQUEST['name'] = urldecode($tmp[0]);

chdir(TOOLS . 'signature');
include('index.php');
include(TOOLS . 'signature/index.php');
exit();
}

Expand Down

0 comments on commit 508db95

Please sign in to comment.