Register pages namespace for public campaign analytics view

This commit is contained in:
1sonhador committed 2025-10-15 00:53:41 +01:00
1 parent 0c057b4d61
commit cc46dd2fc5
1 file changed
+3
+3
View File
@@ -19,6 +19,9 @@ declare(strict_types=1);
use App\Core\Router;
use App\Core\View;
// Register pages namespace
View::addNamespace('pages', __DIR__ . '/../Views/pages');
// --- Module Loader ---
$modulesDir = __DIR__ . '/../Modules';
$moduleFolders = scandir($modulesDir);