mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 13:50:23 +02:00
refactor: add php autoloader (#2655)
This commit is contained in:
@@ -59,8 +59,6 @@ class FormatFactory extends FactoryAbstract {
|
||||
throw new \Exception('Format file ' . $filePath . ' does not exist!');
|
||||
}
|
||||
|
||||
require_once $pathFormat;
|
||||
|
||||
if((new \ReflectionClass($name))->isInstantiable()) {
|
||||
return new $name();
|
||||
}
|
||||
|
Reference in New Issue
Block a user