Skip to content

Commit 5ebf5db

Browse files
committed
Merge branch 'hotfix/0.1.1'
2 parents 4bb4401 + 585c0c8 commit 5ebf5db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/View/Env.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static function config(string $path)
1414
public static function getPath()
1515
{
1616
if (getenv("PHANTOM_PATH") == false) {
17-
putenv("PHANTOM_PATH=" . $_SERVER["PWD"] . "/view");
17+
putenv("PHANTOM_PATH=" . getcwd() . "/view");
1818
}
1919
return getenv("PHANTOM_PATH");
2020
}

0 commit comments

Comments
 (0)