Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
066db38d
Commit
066db38d
authored
Jul 26, 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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
36 deletions
+0
-36
system/loader.php
+0
-36
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