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
521e40f4
Commit
521e40f4
authored
Feb 07, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working on core.
parent
8fc48f7c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
core.php
laravel/core.php
+16
-8
No files found.
laravel/core.php
View file @
521e40f4
...
@@ -46,17 +46,25 @@ Autoloader::$aliases = Config::get('application.aliases');
...
@@ -46,17 +46,25 @@ Autoloader::$aliases = Config::get('application.aliases');
Autoloader
::
namespaces
(
array
(
'Laravel'
=>
path
(
'sys'
)));
Autoloader
::
namespaces
(
array
(
'Laravel'
=>
path
(
'sys'
)));
/**
/**
* Register all of the bundles that are defined in the bundle info
* Grab the bundle manifest for the application. This contains an
* file within the bundles directory. This informs the framework
* array of all of the installed bundles, plus information about
* where the bundle lives and which URIs it responds to.
* each of them. If it's not cached, we'll detect them and then
* cache it to save time later.
*/
*/
$bundles
=
require
path
(
'bundle'
)
.
'bundles'
.
EXT
;
$bundles
=
Cache
::
remember
(
'laravel.bundle.manifest'
,
function
()
foreach
(
$bundles
as
$bundle
=>
$value
)
{
{
if
(
is_numeric
(
$bundle
))
$bundle
=
$value
;
return
Bundle
::
detect
();
},
Config
::
get
(
'application.bundle.cache'
));
Bundle
::
register
(
$bundle
,
$value
);
/**
* Register all of the bundles that are defined in the main bundle
* manifest. This informs the framework where the bundle lives
* and which URIs it can respnod to.
*/
foreach
(
$bundles
as
$bundle
)
{
Bundle
::
register
(
$bundle
);
}
}
/**
/**
...
...
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