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