Skip to content

Commit 5a81c3e

Browse files
authored
Merge pull request #1053 from mrrobot47/fix/init_ee_loading
Change init_ee loading sequence
2 parents 4e75bb8 + 0ee9f8b commit 5a81c3e

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)