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. --- public/index.php | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 public/index.php (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..98e78d3 --- /dev/null +++ b/public/index.php @@ -0,0 +1,10 @@ +