htaccess + permissions
This commit is contained in:
1
.idea/.htaccess
generated
Normal file
1
.idea/.htaccess
generated
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DENY FROM ALL;
|
||||||
@@ -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
src/src/.htaccess
Normal file
1
src/src/.htaccess
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DENY FROM ALL;
|
||||||
Reference in New Issue
Block a user