mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
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:
parent
106d3b7287
commit
8a5f18e139
@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
4
artisan
4
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();
|
||||||
|
|
||||||
@ -56,4 +56,4 @@ $artisan = Illuminate\Console\Application::start($app);
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$artisan->run();
|
$artisan->run();
|
||||||
|
@ -41,4 +41,4 @@ Illuminate\Support\ClassLoader::register();
|
|||||||
if (is_dir($workbench = __DIR__.'/../workbench'))
|
if (is_dir($workbench = __DIR__.'/../workbench'))
|
||||||
{
|
{
|
||||||
Illuminate\Workbench\Starter::start($workbench);
|
Illuminate\Workbench\Starter::start($workbench);
|
||||||
}
|
}
|
||||||
|
@ -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__.'/..');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@ -69,4 +69,4 @@ require $app->getBootstrapFile();
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return $app;
|
return $app;
|
@ -34,7 +34,7 @@ require __DIR__.'/../bootstrap/autoload.php';
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$app = require_once __DIR__.'/../start.php';
|
$app = require_once __DIR__.'/../bootstrap/start.php';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user