htaccess + permissions
This commit is contained in:
parent
b7d3e569d3
commit
98296b888e
1
.idea/.htaccess
Normal file
1
.idea/.htaccess
Normal file
@ -0,0 +1 @@
|
||||
DENY FROM ALL;
|
@ -10,7 +10,8 @@ include_once 'core/datetime.php';
|
||||
include_once 'core/constants.php';
|
||||
|
||||
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");
|
||||
|
1
src/src/.htaccess
Normal file
1
src/src/.htaccess
Normal file
@ -0,0 +1 @@
|
||||
DENY FROM ALL;
|
Loading…
Reference in New Issue
Block a user