1
0
mirror of synced 2024-11-22 05:16:09 +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
*/
if (file_exists(__DIR__ . '/../../.env')) {
$dotenv = Dotenv\Dotenv::create(__DIR__ . '/../../');
$dotenv->load();
}
if (getenv('TRAVIS_BUILD_DIR')) {
$_SERVER['DOCUMENT_ROOT'] = getenv('TRAVIS_BUILD_DIR') . '/bitrix';