Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
8a5f18e1
Commit
8a5f18e1
authored
Feb 07, 2013
by
Ben Corlett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moving start.php to bootstrap/start.php to collate all bootstrapping files.
Signed-off-by: Ben Corlett <bencorlett@me.com>
parent
106d3b72
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
13 deletions
+9
-13
app/tests/TestCase.php
+2
-3
artisan
+2
-3
bootstrap/autoload.php
+1
-2
bootstrap/start.php
+3
-4
public/index.php
+1
-1
No files found.
app/tests/TestCase.php
View file @
8a5f18e1
...
...
@@ -13,7 +13,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase {
$testEnvironment
=
'testing'
;
return
require
__DIR__
.
'/../../start.php'
;
return
require
__DIR__
.
'/../../
bootstrap/
start.php'
;
}
}
\ No newline at end of file
}
artisan
View file @
8a5f18e1
...
...
@@ -27,7 +27,7 @@ require __DIR__.'/bootstrap/autoload.php';
|
*/
$app
=
require_once
__DIR__
.
'/start.php'
;
$app
=
require_once
__DIR__
.
'/
bootstrap/
start.php'
;
$app
->
boot
();
...
...
@@ -56,4 +56,4 @@ $artisan = Illuminate\Console\Application::start($app);
|
*/
$artisan
->
run
();
\ No newline at end of file
$artisan
->
run
();
bootstrap/autoload.php
View file @
8a5f18e1
...
...
@@ -41,4 +41,4 @@ Illuminate\Support\ClassLoader::register();
if
(
is_dir
(
$workbench
=
__DIR__
.
'/../workbench'
))
{
Illuminate\Workbench\Starter
::
start
(
$workbench
);
}
\ No newline at end of file
}
start.php
→
bootstrap/
start.php
View file @
8a5f18e1
...
...
@@ -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
;
\ No newline at end of file
return
$app
;
public/index.php
View file @
8a5f18e1
...
...
@@ -34,7 +34,7 @@ require __DIR__.'/../bootstrap/autoload.php';
|
*/
$app
=
require_once
__DIR__
.
'/../start.php'
;
$app
=
require_once
__DIR__
.
'/../
bootstrap/
start.php'
;
/*
|--------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment