Added more error-handling to autoload.php
This commit is contained in:
parent
fb490e8065
commit
18e0f4b8aa
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,12 @@
|
|||
|
||||
foreach($target_files as $file)
|
||||
{
|
||||
if(!file_exists($file))
|
||||
{
|
||||
trigger_error('Cannot find file ' . $file, E_USER_WARNING);
|
||||
continue;
|
||||
}
|
||||
|
||||
require_once($file);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue