htaccess + permissions

This commit is contained in:
Roman committed 2020-06-18 15:39:10 +02:00
1 parent b7d3e569d3
commit 98296b888e
3 files changed
+4 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
DENY FROM ALL;
+2 -1
View File
@@ -10,7 +10,8 @@ include_once 'core/datetime.php';
include_once 'core/constants.php'; include_once 'core/constants.php';
if (!is_readable(getClassPath(Configuration::class))) { if (!is_readable(getClassPath(Configuration::class))) {
die("Configuration directory is not readable, please check permissions before proceeding"); header("Content-Type", "application/json");
die(json_encode(array( "success" => false, "msg" => "Configuration directory is not readable, check permissions before proceeding." )));
} }
spl_autoload_extensions(".php"); spl_autoload_extensions(".php");
+1
View File
@@ -0,0 +1 @@
DENY FROM ALL;