MAPG-3 create basic contoller functionality

This commit is contained in:
bence committed 2020-05-17 22:30:22 +02:00
1 parent c63f05295e
commit 555984caf5
5 files changed
+70 -1

No files matched your search

+3 -1
View File
@@ -2,7 +2,9 @@
require 'vendor/autoload.php';
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
const ROOT = __DIR__;
$dotenv = Dotenv\Dotenv::createImmutable(ROOT);
$dotenv->load();
if (!empty($_ENV['DEV'])) {