mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
Make __init_env__.php load libraries specified in config.
This commit is contained in:
parent
1f88e08761
commit
173eaf48f4
1 changed files with 4 additions and 0 deletions
4
scripts/__init_env__.php
Normal file → Executable file
4
scripts/__init_env__.php
Normal file → Executable file
|
@ -29,3 +29,7 @@ $conf['phabricator.env'] = $env;
|
|||
|
||||
phutil_require_module('phabricator', 'infrastructure/env');
|
||||
PhabricatorEnv::setEnvConfig($conf);
|
||||
|
||||
foreach (PhabricatorEnv::getEnvConfig('load-libraries') as $library) {
|
||||
phutil_load_library($library);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue