X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/2b4b34a76f42841e964a549fc64c02ba4f60a3f4..3367fca1c9cdeb70c95154f20011b268d4d080a4:/www/index.php diff --git a/www/index.php b/www/index.php index d926a1d..7ff1814 100644 --- a/www/index.php +++ b/www/index.php @@ -1,31 +1,13 @@ process($_POST)) { - redirect($repopo->repo->getLink('display')); -} - -$phork = array( - '1' => new File(null, null) -); -render( - 'index', - array( - 'files' => $phork, - 'description' => '', - 'htmlhelper' => new HtmlHelper(), - ) +header( + 'Location: ' + . Tools::fullUrl('/' . $GLOBALS['phorkie']['cfg']['index']) ); ?>