Skip to content

Commit

Permalink
load .env config when running config gen
Browse files Browse the repository at this point in the history
  • Loading branch information
kroky committed Jan 29, 2024
1 parent 5150a3f commit 0d046fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/config_gen.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
require VENDOR_PATH.'autoload.php';
require APP_PATH.'lib/framework.php';

$environment = Hm_Environment::getInstance();
$environment->load();

/* check for proper php support */
check_php();

Expand Down

0 comments on commit 0d046fb

Please sign in to comment.