X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/97c4ac59eed8b66b2e7f85d8ac325b063fb8a0ce..ca956a5a5758b8514f15c4828bf26a11a7b66032:/www/index.php diff --git a/www/index.php b/www/index.php index 7ac6fcf..0ee9211 100644 --- a/www/index.php +++ b/www/index.php @@ -3,6 +3,11 @@ * Jump to the index as per the configuration */ namespace phorkie; +$reqWritePermissions = false; require_once 'www-header.php'; -require_once $GLOBALS['phorkie']['cfg']['index'].".php"; + +header( + 'Location: ' + . Tools::fullUrl('/' . $GLOBALS['phorkie']['cfg']['index']) +); ?>