aboutsummaryrefslogtreecommitdiff
path: root/p/index.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-02-04 15:41:20 +0100
committerGravatar GitHub <noreply@github.com> 2022-02-04 15:41:20 +0100
commit88b934da8bec70da1400525748336c0b71864b1a (patch)
treef5396060578dc05f6f0aee206387b479db2dccb7 /p/index.php
parent60d96652dda458aeae78fd25f7c5f6818d518ef1 (diff)
Fix root redirection (#4167)
* Fix root redirection #fix https://github.com/FreshRSS/FreshRSS/issues/4126 * Smarter
Diffstat (limited to 'p/index.php')
-rw-r--r--p/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/p/index.php b/p/index.php
new file mode 100644
index 000000000..65d3a8c3f
--- /dev/null
+++ b/p/index.php
@@ -0,0 +1,6 @@
+<?php
+require(__DIR__ . '/../constants.php');
+require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader
+
+FreshRSS_Context::initSystem();
+Minz_Request::forward(['c' => 'index', 'a' => 'index'], true);