add fix for env loader
This commit is contained in:
parent
e1cb5a212d
commit
fbd807e5bd
|
@ -6,7 +6,7 @@ use Pecee\SimpleRouter\SimpleRouter;
|
||||||
|
|
||||||
require __DIR__.'/../vendor/autoload.php';
|
require __DIR__.'/../vendor/autoload.php';
|
||||||
|
|
||||||
$dotenv = Dotenv\Dotenv::create(__DIR__.'/../');
|
$dotenv = Dotenv\Dotenv::create(dirname(__FILE__).'/../');
|
||||||
$dotenv->load();
|
$dotenv->load();
|
||||||
|
|
||||||
function isValidUrl( ? string $url, ? string $hostname) : bool
|
function isValidUrl( ? string $url, ? string $hostname) : bool
|
||||||
|
|
Loading…
Reference in a new issue