X-Git-Url: https://git.cweiske.de/stapibas.git/blobdiff_plain/30e47dacbaf39b237c6e301810dce148bb768154..cfb679840a7596a24527a7f505728f7f9a1a6118:/www/render.php diff --git a/www/render.php b/www/render.php index e460b42..b844dbe 100644 --- a/www/render.php +++ b/www/render.php @@ -5,11 +5,7 @@ namespace stapibas; * * @param string $url URL to get content for */ -header('HTTP/1.0 500 Internal Server Error'); -header('Content-type: text/plain'); - -require_once __DIR__ . '/../data/config.php'; -require_once 'stapibas/autoloader.php'; +require_once 'www-header.php'; if (!isset($_GET['url'])) { header('HTTP/1.0 400 Bad Request');