X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/7dcd592544ae0b55d0e205ff83631067a0d0aa6b..fc9ddff30bafd071990dfb95c9a8520b457da2e9:/www/index.php diff --git a/www/index.php b/www/index.php index 898c443..5b5e4f6 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']) ); ?>