git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
REVERT: variable name change
[phorkie.git]
/
www
/
index.php
diff --git
a/www/index.php
b/www/index.php
index 9a05add9b9741d78ce46a87345123577fe4821dc..7ff1814767cb6a619d3ad939d52714c4b19dac42 100644
(file)
--- a/
www/index.php
+++ b/
www/index.php
@@
-1,5
+1,13
@@
<?php
<?php
+/**
+ * Jump to the index as per the configuration
+ */
namespace phorkie;
namespace phorkie;
+$secureAtLevel = 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'])
+);
?>
?>