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
3292024e
Commit
3292024e
authored
Feb 07, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use start.php for bundle bootstrapping, bundle.php for info.
parent
e4d55cbc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
start.php
application/start.php
+0
-0
bundle.php
laravel/bundle.php
+2
-2
config.php
laravel/config.php
+0
-4
No files found.
application/
bundle
.php
→
application/
start
.php
View file @
3292024e
File moved
laravel/bundle.php
View file @
3292024e
...
...
@@ -62,7 +62,7 @@ class Bundle {
// the location automatically since we know it.
if
(
$item
->
isDir
())
{
$path
=
$item
->
getRealPath
()
.
DS
.
'bundle.
info
'
;
$path
=
$item
->
getRealPath
()
.
DS
.
'bundle.
php
'
;
// If we found a file, we'll require in the array it contains
// and add it to the directory. The info array will contain
...
...
@@ -146,7 +146,7 @@ class Bundle {
// the bundle for use by the application. The start script may register any
// classes the bundle uses with the auto-loader, or perhaps will start any
// dependent bundles so that they are available.
if
(
file_exists
(
$path
=
static
::
path
(
$bundle
)
.
'
bundle
'
.
EXT
))
if
(
file_exists
(
$path
=
static
::
path
(
$bundle
)
.
'
start
'
.
EXT
))
{
require
$path
;
}
...
...
laravel/config.php
View file @
3292024e
...
...
@@ -199,10 +199,6 @@ class Config {
// Configuration files can be made specific for a given environment. If an
// environment has been set, we will merge the environment configuration
// in last, so that it overrides all other options.
//
// This allows the developer to quickly and easily create configurations
// for various scenarios, such as local development and production,
// without constantly changing configuration files.
if
(
isset
(
$_SERVER
[
'LARAVEL_ENV'
]))
{
$paths
[]
=
$paths
[
count
(
$paths
)
-
1
]
.
$_SERVER
[
'LARAVEL_ENV'
]
.
'/'
;
...
...
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