Update dependency

This commit is contained in:
Daniil Gentili 2019-05-13 17:59:10 +02:00
parent da561de1a9
commit 15499970a4
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
"danog/primemodule": "^1.0.3",
"danog/magicalserializer": "^1.0",
"phpseclib/phpseclib": "dev-master#27370df as 2.0.15",
"vlucas/phpdotenv": "^2.4",
"vlucas/phpdotenv": "^3",
"erusev/parsedown": "^1.6",
"rollbar/rollbar": "dev-master",
"ext-curl": "*",

View File

@ -29,7 +29,7 @@ if (!file_exists(__DIR__.'/../vendor/autoload.php')) {
*/
if (file_exists('.env')) {
echo 'Loading .env...'.PHP_EOL;
$dotenv = new Dotenv\Dotenv(getcwd());
$dotenv = Dotenv\Dotenv::create(getcwd());
$dotenv->load();
}
if (getenv('TEST_SECRET_CHAT') == '') {