fix: add support for windows home path

This commit is contained in:
Enzo Innocenzi committed 2020-06-17 19:41:40 +02:00
1 parent baa9819daf
commit 54e9d4757d
6 files changed
+1124 -18

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ class AppServiceProvider extends ServiceProvider
}
$configFile = implode(DIRECTORY_SEPARATOR, [
$_SERVER['HOME'] ?? __DIR__,
$_SERVER['HOME'] ?? $_SERVER['USERPROFILE'] ?? __DIR__,
'.expose',
'config.php',
]);