git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get rid of openid config file
[phorkie.git]
/
www
/
index.php
diff --git
a/www/index.php
b/www/index.php
index 9a03b77c91e0ad223309d43857bbae9828d9a3a2..18018313aa3ce76b2770bbbd575b5367ff28fa09 100644
(file)
--- a/
www/index.php
+++ b/
www/index.php
@@
-1,24
+1,13
@@
<?php
<?php
-namespace Phorkie;
/**
/**
- * Show paste creation form
- *
- * Elements:
- * - description
- * - file name (default: default.php)
- * - content
- *
- * Creates and redirects to display page
+ * Jump to the index as per the configuration
*/
*/
+namespace phorkie;
+$pageRequiresLogin = false;
require_once 'www-header.php';
require_once 'www-header.php';
-$repopo = new Repository_Post();
-if ($repopo->process($_POST)) {
- redirect($repopo->repo->getLink('display'));
-}
-
-$phork = array(
- '1' => new File(null, null)
+header(
+ 'Location: '
+ . Tools::fullUrl('/' . $GLOBALS['phorkie']['cfg']['index'])
);
);
-render('index', array('files' => $phork, 'description' => ''));
?>
?>