closes #17, великое переименование классов для автозагрузчика, актуализация кода

This commit is contained in:
2022-08-25 14:23:36 +03:00
parent 6cd7b13db0
commit 42714daeda
203 changed files with 38783 additions and 39766 deletions
+5 -4
View File
@@ -87,9 +87,10 @@ spl_autoload_register(function ($className) {
__DIR__ . '/class/' . str_replace('\\', '/', $className . '.php'),
__DIR__ . '/class/' . $className . '.php'
];
foreach ($fileName as $file)
if (file_exists($file)) {
require_once $file;
break;
foreach ($fileName as $file) {
if (file_exists($file)) {
require_once $file;
break;
}
}
});