fix vendor location
This commit is contained in:
@ -4,7 +4,7 @@ define('YII_ENV', 'test');
|
||||
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
||||
|
||||
// Search for autoload, since performance is irrelevant and usability isn't!
|
||||
$dir = __DIR__ . '/../';
|
||||
$dir = __DIR__ . '/..';
|
||||
while (!file_exists($dir . '/vendor/autoload.php')) {
|
||||
if ($dir == dirname($dir)) {
|
||||
throw new \Exception('Failed to locate autoload.php');
|
||||
|
||||
Reference in New Issue
Block a user