Added more error-handling to autoload.php

This commit is contained in:
Netkas 2022-09-22 17:24:48 -04:00
parent fb490e8065
commit 18e0f4b8aa

View file

@ -28,6 +28,12 @@
foreach($target_files as $file) foreach($target_files as $file)
{ {
if(!file_exists($file))
{
trigger_error('Cannot find file ' . $file, E_USER_WARNING);
continue;
}
require_once($file); require_once($file);
} }