git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work around bug in twig 1
[phorkie.git]
/
www
/
index.php
diff --git
a/www/index.php
b/www/index.php
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..5b5e4f64288e2b326d11a90908dcdcf1787d2544 100644
(file)
--- a/
www/index.php
+++ b/
www/index.php
@@
-0,0
+1,13
@@
+<?php
+/**
+ * Jump to the index as per the configuration
+ */
+namespace phorkie;
+$reqWritePermissions = false;
+require_once 'www-header.php';
+
+header(
+ 'Location: '
+ . Tools::fullUrl($GLOBALS['phorkie']['cfg']['index'])
+);
+?>