File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ private function getDefaultArguments(): array
97
97
$ args = [];
98
98
99
99
// Enable the headless mode unless PANTHER_NO_HEADLESS is defined
100
- if ($ _SERVER ['PANTHER_NO_HEADLESS ' ] ?? true ) {
100
+ if (!( $ _SERVER ['PANTHER_NO_HEADLESS ' ] ?? false ) ) {
101
101
$ args [] = '--headless ' ;
102
102
$ args [] = '--window-size=1200,1100 ' ;
103
103
$ args [] = '--disable-gpu ' ;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ private function getDefaultArguments(): array
92
92
$ args = [];
93
93
94
94
// Enable the headless mode unless PANTHER_NO_HEADLESS is defined
95
- if ($ _SERVER ['PANTHER_NO_HEADLESS ' ] ?? true ) {
95
+ if (!( $ _SERVER ['PANTHER_NO_HEADLESS ' ] ?? false ) ) {
96
96
$ args [] = '--headless ' ;
97
97
$ args [] = '--window-size=1200,1100 ' ;
98
98
}
You can’t perform that action at this time.
0 commit comments