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 @@ -33,7 +33,7 @@ Prior to installing `support package` get the [Composer](https://getcomposer.org
3333** Step 1** — update your ` composer.json ` :
3434``` composer.json
3535"require" : {
36- "tamedevelopers/support" : " ^1.0.2 "
36+ "tamedevelopers/support" : " ^1.0.3 "
3737}
3838```
3939
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ private static function createAbsoluteDomain(?string $serverPath = null)
227227 $ docRoot = $ _SERVER ['DOCUMENT_ROOT ' ];
228228
229229 // Get the server name (hostname)
230- $ serverName = $ _SERVER ['SERVER_NAME ' ];
230+ $ serverName = $ _SERVER ['SERVER_NAME ' ] ?? null ;
231231
232232 // Replace Document root inside server path
233233 $ domainPath = str_replace ($ docRoot , '' , $ serverPath );
You can’t perform that action at this time.
0 commit comments