git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show url and HTTP method in exception
[phorkie.git]
/
www
/
index.php
diff --git
a/www/index.php
b/www/index.php
index 7ac6fcfbc868cefd485775280c4a3cec1e04e081..5b5e4f64288e2b326d11a90908dcdcf1787d2544 100644
(file)
--- a/
www/index.php
+++ b/
www/index.php
@@
-3,6
+3,11
@@
* Jump to the index as per the configuration
*/
namespace phorkie;
* Jump to the index as per the configuration
*/
namespace phorkie;
+$reqWritePermissions = false;
require_once 'www-header.php';
require_once 'www-header.php';
-require_once $GLOBALS['phorkie']['cfg']['index'].".php";
+
+header(
+ 'Location: '
+ . Tools::fullUrl($GLOBALS['phorkie']['cfg']['index'])
+);
?>
?>