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
066db38d
Commit
066db38d
authored
Jul 27, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deprecated auto-loader file. moved to public/index.php.
parent
306ecd3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
35 deletions
+0
-35
loader.php
system/loader.php
+0
-35
No files found.
system/loader.php
deleted
100644 → 0
View file @
306ecd3b
<?php
/**
* This function is registered on the auto-loader stack by the front controller.
*
* All namespace slashes will be replaced with directory slashes since all Laravel
* system classes are organized using a namespace to directory convention.
*/
return
function
(
$class
)
{
$file
=
strtolower
(
str_replace
(
'\\'
,
'/'
,
$class
));
if
(
array_key_exists
(
$class
,
$aliases
=
System\Config
::
get
(
'aliases'
)))
{
return
class_alias
(
$aliases
[
$class
],
$class
);
}
if
(
file_exists
(
$path
=
BASE_PATH
.
$file
.
EXT
))
{
require
$path
;
}
elseif
(
file_exists
(
$path
=
APP_PATH
.
'models/'
.
$file
.
EXT
))
{
require
$path
;
}
elseif
(
file_exists
(
$path
=
APP_PATH
.
'libraries/'
.
$file
.
EXT
))
{
require
$path
;
}
elseif
(
file_exists
(
$path
=
APP_PATH
.
$file
.
EXT
))
{
require
$path
;
}
};
\ No newline at end of file
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