1
0
mirror of synced 2024-11-26 07:16:08 +03:00

update bootstrap

This commit is contained in:
Akolzin Dmitry 2019-02-28 15:42:04 +03:00
parent 27f4d6e6e9
commit d98992abe9

View File

@ -9,8 +9,10 @@
* @see http://help.retailcrm.ru * @see http://help.retailcrm.ru
*/ */
$dotenv = Dotenv\Dotenv::create(__DIR__ . '/../../'); if (file_exists(__DIR__ . '/../../.env')) {
$dotenv->load(); $dotenv = Dotenv\Dotenv::create(__DIR__ . '/../../');
$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';