Skip to content

Commit

Permalink
Update ConfigLoader.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jocafamaka committed Jul 18, 2020
1 parent 7605239 commit fabb5e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NagmapReborn/ConfigLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ function config($key, $default = null)
}
}

putenv("ngr_ngreborn.version=" . @file_get_contents(NGR_DOCUMENT_ROOT . "/VERSION"));
putenv("ngr_ngreborn.domain=" . @file_get_contents(NGR_DOCUMENT_ROOT . "/resources/reporter/DOMAIN"));
putenv("NGR_ngreborn.version=" . @file_get_contents(NGR_DOCUMENT_ROOT . "/VERSION"));
putenv("NGR_ngreborn.domain=" . @file_get_contents(NGR_DOCUMENT_ROOT . "/resources/reporter/DOMAIN"));

define("CONFIG_LOAD", true);
}

0 comments on commit fabb5e6

Please sign in to comment.