mirror of
https://tildegit.org/sbgodin/HtmGem.git
synced 2023-08-25 13:53:12 +02:00
Removes local path on 404
This commit is contained in:
parent
a359f16d06
commit
affe677035
@ -13,7 +13,7 @@ $filePath = $GMI_DIR.$url;
|
||||
$fileContent = @file_get_contents($filePath);
|
||||
if (!$fileContent) {
|
||||
http_response_code(404);
|
||||
die("404: $filePath $GMI_DIR $url");
|
||||
die("404: $url");
|
||||
}
|
||||
|
||||
$fileLines = preg_split("/\n/", $fileContent);
|
||||
|
Loading…
Reference in New Issue
Block a user