Skip to content

Commit 0307452

Browse files
authored
Update Main.php
1 parent c171415 commit 0307452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cli/Main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private function setup()
222222
}
223223
static::$configDir = _CONFIGPATH;
224224
static::$vendorDir = $vendorDir;
225-
static::$baseDir = $baseDir;
225+
static::$baseDir = defined('_PHPPATH') ? _PHPPATH : dirname($vendorDir);
226226
}
227227

228228

0 commit comments

Comments
 (0)