X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/dff68e21ac958ebfb8164bca4cb2143c427f4330..ca956a5a5758b8514f15c4828bf26a11a7b66032:/www/www-header.php diff --git a/www/www-header.php b/www/www-header.php index 290e680..9aa8732 100644 --- a/www/www-header.php +++ b/www/www-header.php @@ -1,8 +1,6 @@ addExtension(new \Twig_Extension_Debug()); -require __DIR__ . '/www-security.php'; +if (!isset($noSecurityCheck) || $noSecurityCheck !== true) { + require __DIR__ . '/www-security.php'; +} function render($tplname, $vars = array()) {