Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
c07f552c
Commit
c07f552c
authored
Feb 07, 2013
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaning up comments for my ocd.
parent
4528981e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
22 deletions
+25
-22
paths.php
bootstrap/paths.php
+9
-7
start.php
bootstrap/start.php
+16
-15
No files found.
bootstrap/paths.php
View file @
c07f552c
...
...
@@ -20,20 +20,22 @@ return array(
| Public Path
|--------------------------------------------------------------------------
|
|
We understand that not all hosting environments allow flexibility with
|
public paths. That's why we allow you to change where your public path
|
is below
.
|
The public path contains the assets for your web application, such as
|
your JavaScript and CSS files, and also contains the primary entry
|
point for web requests into these applications from the outside
.
|
*/
'public'
=>
__DIR__
.
'/../public'
,
/*
|-
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
Base
Path
|-
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|-
-------------------------------------------------------------------------
|
Public
Path
|-
-------------------------------------------------------------------------
|
| You probably shouldn't be editing this.
| The base path is the root of the Laravel installation. Most likely you
| will not need to change this value. But, if for some wild reason it
| is necessary you will do so here, just proceed with some caution.
|
*/
...
...
bootstrap/start.php
View file @
c07f552c
...
...
@@ -15,38 +15,39 @@ $app = new Illuminate\Foundation\Application;
/*
|--------------------------------------------------------------------------
|
Bind Paths
|
Detect The Application Environment
|--------------------------------------------------------------------------
|
| Here we are binding the paths configured in paths.php to the app. You
| should not be changing these here but rather in paths.php.
| Laravel takes a dead simple approach to your application environments
| so you can just specify a machine name or HTTP host that matches a
| given environment, then we will automatically detect it for you.
|
*/
$paths
=
require
__DIR__
.
'/paths.php'
;
$app
->
instance
(
'path'
,
$appPath
=
$paths
[
'app'
]);
$env
=
$app
->
detectEnvironment
(
array
(
$app
->
instance
(
'path.base'
,
$paths
[
'base'
]);
'local'
=>
array
(
'your-machine-name'
),
$app
->
instance
(
'path.public'
,
$paths
[
'public'
]
);
)
);
/*
|--------------------------------------------------------------------------
|
Detect The Application Environment
|
Bind Paths
|--------------------------------------------------------------------------
|
|
Laravel takes a dead simple approach to your application environments
| s
o you can just specify a machine name or HTTP host that matches a
|
given environment, then we will automatically detect it for you
.
|
Here we are binding the paths configured in paths.php to the app. You
| s
hould not be changing these here. If you need to change these you
|
may do so within the paths.php file and they will be bound here
.
|
*/
$
env
=
$app
->
detectEnvironment
(
array
(
$
paths
=
require
__DIR__
.
'/paths.php'
;
'local'
=>
array
(
'your-machine-name'
),
$app
->
instance
(
'path'
,
$appPath
=
$paths
[
'app'
]);
));
$app
->
instance
(
'path.base'
,
$paths
[
'base'
]);
$app
->
instance
(
'path.public'
,
$paths
[
'public'
]);
/*
|--------------------------------------------------------------------------
...
...
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