mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-14 14:05:54 +00:00
fix: add support for windows home path
This commit is contained in:
@@ -13,7 +13,7 @@ class PublishCommand extends Command
|
||||
public function handle()
|
||||
{
|
||||
$configFile = implode(DIRECTORY_SEPARATOR, [
|
||||
$_SERVER['HOME'],
|
||||
$_SERVER['HOME'] ?? $_SERVER['USERPROFILE'],
|
||||
'.expose',
|
||||
'config.php',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user