mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
fix: add support for windows home path
This commit is contained in:
@@ -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