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
9797 $ args = [];
9898
9999 // Enable the headless mode unless PANTHER_NO_HEADLESS is defined
100- if ($ _SERVER ['PANTHER_NO_HEADLESS ' ] ?? true ) {
100+ if (!( $ _SERVER ['PANTHER_NO_HEADLESS ' ] ?? false ) ) {
101101 $ args [] = '--headless ' ;
102102 $ args [] = '--window-size=1200,1100 ' ;
103103 $ args [] = '--disable-gpu ' ;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ private function getDefaultArguments(): array
9292 $ args = [];
9393
9494 // Enable the headless mode unless PANTHER_NO_HEADLESS is defined
95- if ($ _SERVER ['PANTHER_NO_HEADLESS ' ] ?? true ) {
95+ if (!( $ _SERVER ['PANTHER_NO_HEADLESS ' ] ?? false ) ) {
9696 $ args [] = '--headless ' ;
9797 $ args [] = '--window-size=1200,1100 ' ;
9898 }
You can’t perform that action at this time.
0 commit comments