parent
12faaba75e
commit
29c9674b7d
8 changed files with 21 additions and 9 deletions
@ -1,6 +1,6 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
require_once "Tracker.php"; |
require_once __DIR__."/Tracker.php"; |
||||||
|
|
||||||
$tracker = new Tracker(); |
$tracker = new Tracker(); |
||||||
$tracker->update(); |
$tracker->update(); |
@ -1,5 +1,5 @@ |
|||||||
<?php |
<?php |
||||||
foreach (parse_ini_file($_SERVER['DOCUMENT_ROOT']."/../.env") as $key => $value) { |
foreach (parse_ini_file(__DIR__."/../../.env") as $key => $value) { |
||||||
$_ENV[$key] = $value; |
$_ENV[$key] = $value; |
||||||
} |
} |
||||||
unset($key, $value); |
unset($key, $value); |
||||||
|
Loading…
Reference in new issue