diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2017-02-26 13:12:33 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2017-02-26 13:12:33 +0300 |
| commit | e01f57a3d98943954372110dc75e8d731fbacc10 (patch) | |
| tree | 2d57e3a2368984f03507f2650f0b94273dced625 /backend.php | |
| parent | b8ae4b31c129031e89e4c7fb9801d6761513dd73 (diff) | |
| download | the-epube-e01f57a3d98943954372110dc75e8d731fbacc10.tar.gz the-epube-e01f57a3d98943954372110dc75e8d731fbacc10.tar.xz | |
further offline improvements
Diffstat (limited to 'backend.php')
| -rw-r--r-- | backend.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backend.php b/backend.php index 5d30f9d..308d2df 100644 --- a/backend.php +++ b/backend.php @@ -93,7 +93,8 @@ if ($line = $result->fetchArray()) { print $line["pagination"]; } else { - print json_encode(["error" => "NOT_FOUND"]); + header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); + echo "File not found."; } } |
