Moving start.php to bootstrap/start.php to collate all bootstrapping files.
Signed-off-by: Ben Corlett <bencorlett@me.com>
This commit is contained in:
@@ -13,7 +13,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase {
|
|||||||
|
|
||||||
$testEnvironment = 'testing';
|
$testEnvironment = 'testing';
|
||||||
|
|
||||||
return require __DIR__.'/../../start.php';
|
return require __DIR__.'/../../bootstrap/start.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
2
artisan
2
artisan
@@ -27,7 +27,7 @@ require __DIR__.'/bootstrap/autoload.php';
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$app = require_once __DIR__.'/start.php';
|
$app = require_once __DIR__.'/bootstrap/start.php';
|
||||||
|
|
||||||
$app->boot();
|
$app->boot();
|
||||||
|
|
||||||
|
|||||||
@@ -24,9 +24,9 @@ $app = new Illuminate\Foundation\Application;
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$app->instance('path', $appPath = __DIR__.'/app');
|
$app->instance('path', $appPath = __DIR__.'/../app');
|
||||||
|
|
||||||
$app->instance('path.base', __DIR__);
|
$app->instance('path.base', __DIR__.'/..');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@@ -34,7 +34,7 @@ require __DIR__.'/../bootstrap/autoload.php';
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$app = require_once __DIR__.'/../start.php';
|
$app = require_once __DIR__.'/../bootstrap/start.php';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user