New project structure #6

Merged
akrdzic merged 24 commits from new-project-structure into master 2018-07-31 13:43:29 +02:00
Showing only changes of commit 2c57157703 - Show all commits

View File

@@ -8,6 +8,7 @@ define('SCRIPT_DEBUG', true);
* Use Dotenv to set required environment variables and load .local.env file
*/
if (class_exists(\Dotenv\Dotenv::class)) {
$dotenv_dir = dirname(dirname(dirname(__DIR__)));
$env_file_name = null;
@@ -23,3 +24,4 @@ if (isset($env_file_name)) {
$dotenv->load();
$dotenv->required(['MYSQL_DATABASE', 'MYSQL_USER', 'MYSQL_PASSWORD']);
}
}