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