diff options
author | Luke Stevenson <lucanos@gmail.com> | 2016-08-29 04:00:32 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-29 04:00:32 +1000 |
commit | 0dbe941b540604e6c1a2aaf3d4b8a10367a52bc1 (patch) | |
tree | 214084a3bcf53207edc7427ae109a49103308bb8 | |
parent | 831c2d12b325924f4ba66eb1ad14db47acd2d6b7 (diff) | |
download | cops-0dbe941b540604e6c1a2aaf3d4b8a10367a52bc1.zip cops-0dbe941b540604e6c1a2aaf3d4b8a10367a52bc1.tar.gz cops-0dbe941b540604e6c1a2aaf3d4b8a10367a52bc1.tar.bz2 |
Removes "header()" to send as HTML
This was causing a PHP error as the output body had already commenced at Line 1
-rw-r--r-- | checkconfig.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/checkconfig.php b/checkconfig.php index a9770e9..cf86e47 100644 --- a/checkconfig.php +++ b/checkconfig.php @@ -5,15 +5,13 @@ * COPS (Calibre OPDS PHP Server) Configuration check * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) - * @author Sébastien Lucas <sebastien@slucas.fr> + * @author SĂ©bastien Lucas <sebastien@slucas.fr> * */ require_once ("config.php"); require_once ("base.php"); - header ("Content-Type:text/html; charset=UTF-8"); - $err = getURLParam ("err", -1); $full = getURLParam ("full"); $error = NULL; |