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
33
33
** Step 1** — update your ` composer.json ` :
34
34
``` composer.json
35
35
"require" : {
36
- "tamedevelopers/support" : " ^1.0.2 "
36
+ "tamedevelopers/support" : " ^1.0.3 "
37
37
}
38
38
```
39
39
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ private static function createAbsoluteDomain(?string $serverPath = null)
227
227
$ docRoot = $ _SERVER ['DOCUMENT_ROOT ' ];
228
228
229
229
// Get the server name (hostname)
230
- $ serverName = $ _SERVER ['SERVER_NAME ' ];
230
+ $ serverName = $ _SERVER ['SERVER_NAME ' ] ?? null ;
231
231
232
232
// Replace Document root inside server path
233
233
$ domainPath = str_replace ($ docRoot , '' , $ serverPath );
You can’t perform that action at this time.
0 commit comments