You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
369 B
16 lines
369 B
<?php
|
|
|
|
use Symfony\Component\Dotenv\Dotenv;
|
|
|
|
require dirname(__DIR__).'/vendor/autoload.php';
|
|
|
|
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
|
|
require dirname(__DIR__).'/config/bootstrap.php';
|
|
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
|
|
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
|
|
}
|
|
|
|
if ($_SERVER['APP_DEBUG']) {
|
|
umask(0000);
|
|
}
|