Merge pull request #27 from innocenzi/fix/windows-home

Add support for windows home path (fixes #14)
This commit is contained in:
Marcel Pociot
2020-06-18 10:09:03 +02:00
committed by GitHub
6 changed files with 1124 additions and 18 deletions

View File

@@ -152,7 +152,7 @@ return [
|
*/
'database' => implode(DIRECTORY_SEPARATOR, [
$_SERVER['HOME'] ?? __DIR__,
$_SERVER['HOME'] ?? $_SERVER['USERPROFILE'] ?? __DIR__,
'.expose',
'expose.db'
]),