Files
nextcloud-analytics/analyticshub/appinfo/routes.php
WLTBAgent 0586d5d606 Fix: Simplified PageController and routes to eliminate Application class dependency
- Created minimal debug PageController
- Removed all dependencies on Application class (no more extends App)
- PageController extends Controller directly
- Simplified routes.php to only page#index route
- Debug output shows controller info and system status
- Eliminated Application class loading issue that was causing errors

This minimal version should eliminate the 'Application class not found' error and allow admin page to load successfully.
2026-02-14 01:30:51 +00:00

22 lines
315 B
PHP

<?php
declare(strict_types=1);
namespace OCA\AnalyticsHub;
/**
* Routes for Mini-CMO Analytics Hub
*/
return [
'routes' => [
// Admin routes
[
'name' => 'page#index',
'url' => '/',
'verb' => 'GET',
'requirements' => [],
],
],
];