Added list functions
This commit is contained in:
parent
e3775e1045
commit
2226e91faf
11 changed files with 116 additions and 9 deletions
|
|
@ -30,13 +30,13 @@ spl_autoload_register(function($class_name) {
|
|||
$library=strtolower($last_path);
|
||||
|
||||
if(is_file('modules/'.$module.'/libraries/'.$library.'.php')) {
|
||||
|
||||
|
||||
include('modules/'.$module.'/libraries/'.$library.'.php');
|
||||
|
||||
}
|
||||
else if(is_file('modules/'.$module.'/libraries/'.strtolower($arr_library[1]).'.php')) {
|
||||
|
||||
include('modules/'.$module.'/libraries/'.strtolower($arr_library[1]).'.php');
|
||||
include_once('modules/'.$module.'/libraries/'.strtolower($arr_library[1]).'.php');
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue