Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions php/EE/Runner.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,8 @@ public function init_logger() {

EE::set_logger( $logger );

$this->init_ee();

if ( ! is_writable( EE_CONF_ROOT ) ) {
EE::err( 'Please run `ee` as root user.' );
}
Expand Down Expand Up @@ -680,8 +682,6 @@ private function set_alias( $alias ) {

public function start() {

$this->init_ee();

// Enable PHP error reporting to stderr if testing.
if ( getenv( 'BEHAT_RUN' ) ) {
$this->enable_error_reporting();
Expand Down