X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/347d191850d9a3c5a84f3dff1971e6d955555ac9..92d6cf1f537c2126baf324cbdadbef1067e156b6:/www/index.php diff --git a/www/index.php b/www/index.php index 54b1e3a..7ff1814 100644 --- a/www/index.php +++ b/www/index.php @@ -1,34 +1,13 @@ process($_POST)) { - redirect($repopo->repo->getLink('display')); -} - -$phork = array( - '1' => new File(null, null) -); -$db = new Database(); -render( - 'index', - array( - 'files' => $phork, - 'description' => '', - 'htmlhelper' => new HtmlHelper(), - 'recents' => $db->getSearch()->listAll(0, 5, 'crdate', 'desc'), - 'dh' => new \Date_HumanDiff(), - ) +header( + 'Location: ' + . Tools::fullUrl('/' . $GLOBALS['phorkie']['cfg']['index']) ); ?>