mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Fixed case for models in AUtolaoder.
Also created empty application/Libraries folder, mentioned in the AUtoloader. Signed-off-by:Master Yoda <jim_parry@bcit.ca>
This commit is contained in:
parent
501394dfa9
commit
d55dd7f9c5
0
application/Libraries/.gitignore
vendored
Normal file
0
application/Libraries/.gitignore
vendored
Normal file
@ -275,7 +275,7 @@ class Autoloader
|
||||
/**
|
||||
* Attempts to load the class from common locations in previous
|
||||
* version of CodeIgniter, namely 'application/libraries', and
|
||||
* 'application/models'.
|
||||
* 'application/Models'.
|
||||
*
|
||||
* @param $class The class name. This typically should NOT have a namespace.
|
||||
*
|
||||
@ -292,8 +292,8 @@ class Autoloader
|
||||
|
||||
$paths = [
|
||||
APPPATH.'Controllers/',
|
||||
APPPATH.'libraries/',
|
||||
APPPATH.'models/',
|
||||
APPPATH.'Libraries/',
|
||||
APPPATH.'Models/',
|
||||
];
|
||||
|
||||
$class = str_replace('\\', '/', $class).'.php';
|
||||
|
Loading…
x
Reference in New Issue
Block a user