update bootstrap
This commit is contained in:
parent
27f4d6e6e9
commit
d98992abe9
@ -9,8 +9,10 @@
|
|||||||
* @see http://help.retailcrm.ru
|
* @see http://help.retailcrm.ru
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (file_exists(__DIR__ . '/../../.env')) {
|
||||||
$dotenv = Dotenv\Dotenv::create(__DIR__ . '/../../');
|
$dotenv = Dotenv\Dotenv::create(__DIR__ . '/../../');
|
||||||
$dotenv->load();
|
$dotenv->load();
|
||||||
|
}
|
||||||
|
|
||||||
if (getenv('TRAVIS_BUILD_DIR')) {
|
if (getenv('TRAVIS_BUILD_DIR')) {
|
||||||
$_SERVER['DOCUMENT_ROOT'] = getenv('TRAVIS_BUILD_DIR') . '/bitrix';
|
$_SERVER['DOCUMENT_ROOT'] = getenv('TRAVIS_BUILD_DIR') . '/bitrix';
|
||||||
|
Loading…
Reference in New Issue
Block a user