Skip to content

Commit 8fe6b53

Browse files
committed
.env location is current DIR
1 parent a80d5e0 commit 8fe6b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
require_once 'vendor/autoload.php';
33

4-
$dotenv = new Dotenv\Dotenv('.');
4+
$dotenv = new Dotenv\Dotenv(__DIR__);
55
$dotenv->load();
66

77
foreach($_ENV as $key => $val) {

0 commit comments

Comments
 (0)