<?php
+/**
+ * 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'])
+);
?>