Skip to content

Commit 0ee9f8b

Browse files
committed
Change init_ee loading sequence
1 parent 4e75bb8 commit 0ee9f8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/EE/Runner.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,8 @@ public function init_logger() {
485485

486486
EE::set_logger( $logger );
487487

488+
$this->init_ee();
489+
488490
if ( ! is_writable( EE_CONF_ROOT ) ) {
489491
EE::err( 'Please run `ee` as root user.' );
490492
}
@@ -680,8 +682,6 @@ private function set_alias( $alias ) {
680682

681683
public function start() {
682684

683-
$this->init_ee();
684-
685685
// Enable PHP error reporting to stderr if testing.
686686
if ( getenv( 'BEHAT_RUN' ) ) {
687687
$this->enable_error_reporting();

0 commit comments

Comments
 (0)