1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-02 22:57:26 +02:00

refactor: implement middleware chain (#4240)

* refactor: implement middleware chain

* refactor
This commit is contained in:
Dag
2024-08-30 00:07:58 +02:00
committed by GitHub
parent e7ae06dcf0
commit 39952c2d95
7 changed files with 128 additions and 61 deletions

View File

@@ -37,6 +37,7 @@ spl_autoload_register(function ($className) {
__DIR__ . '/../caches/',
__DIR__ . '/../formats/',
__DIR__ . '/../lib/',
__DIR__ . '/../middlewares/',
];
foreach ($folders as $folder) {
$file = $folder . $className . '.php';