mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
fix: add support for windows home path
This commit is contained in:
6 files changed
+1124
-18
No files matched your search
@@ -45,7 +45,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
}
|
||||
|
||||
$configFile = implode(DIRECTORY_SEPARATOR, [
|
||||
$_SERVER['HOME'] ?? __DIR__,
|
||||
$_SERVER['HOME'] ?? $_SERVER['USERPROFILE'] ?? __DIR__,
|
||||
'.expose',
|
||||
'config.php',
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user