From 24b41331efb09953aa606904c293f5a44714ac94 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 7 Jul 2024 11:27:09 +0200 Subject: Move index.php file to public directory. This allows us to set doculemt root to the public directory, so that there's less chance for shady actors to access the actual modules of the system directly. Just to be on the safe side, I added a new index.php file in the root of the project, to return a forbidden status in case of a misconfigured server. --- index.php | 4 ++-- public/index.php | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 public/index.php diff --git a/index.php b/index.php index 37ce8a3..8529840 100644 --- a/index.php +++ b/index.php @@ -1,8 +1,8 @@