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
c44b6264
Commit
c44b6264
authored
Jan 29, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix autoloading system path issue.
parent
008819cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
autoloader.php
laravel/autoloader.php
+0
-5
core.php
laravel/core.php
+7
-0
No files found.
laravel/autoloader.php
View file @
c44b6264
...
...
@@ -60,11 +60,6 @@ class Autoloader {
{
$namespace
=
substr
(
$class
,
0
,
$slash
);
if
(
$namespace
==
'Laravel'
)
{
return
static
::
load_psr
(
$class
,
path
(
'base'
));
}
// If the class namespace is mapped to a directory, we will load the class
// using the PSR-0 standards from that directory; however, we will trim
// off the beginning of the namespace to account for files in the root
...
...
laravel/core.php
View file @
c44b6264
...
...
@@ -37,6 +37,13 @@ spl_autoload_register(array('Laravel\\Autoloader', 'load'));
*/
Autoloader
::
$aliases
=
Config
::
get
(
'application.aliases'
);
/**
* Register the Laravel namespace so that the auto-loader loads it
* according to the PSR-0 naming conventions. This should provide
* fast resolution of all core classes.
*/
Autoloader
::
namespaces
(
array
(
'Laravel'
=>
path
(
'sys'
)));
/**
* Register all of the bundles that are defined in the bundle info
* file within the bundles directory. This informs the framework
...
...
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