Protect loadEnv method from being called during cli usage.

This commit is contained in:
marco
2015-07-23 13:58:59 +02:00
parent 100e785705
commit 87d69bffb3

View File

@@ -46,7 +46,7 @@ class RoboFile extends \Robo\Tasks {
$this->_exec('vendor/bin/codecept run');
}
function loadEnv() {
protected function loadEnv() {
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();