We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e0914c + 212bc47 commit 7edb9f5Copy full SHA for 7edb9f5
php/EE/Runner.php
@@ -75,11 +75,15 @@ private function init_ee() {
75
if ( 0 === $launch->return_code ) {
76
$nginx_proxy = trim( $launch->stdout );
77
}
78
+ define( 'EE_PROXY_TYPE', $nginx_proxy );
79
80
$this->check_requirements();
81
$this->maybe_trigger_migration();
82
- define( 'EE_PROXY_TYPE', $nginx_proxy );
83
+
84
+ if ( ! defined( 'EE_PROXY_TYPE' ) ) {
85
+ define('EE_PROXY_TYPE', $nginx_proxy);
86
+ }
87
88
if ( [ 'cli', 'info' ] === $this->arguments && $this->check_requirements( false ) ) {
89
0 commit comments