- 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.
22 lines
315 B
PHP
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' => [],
|
|
],
|
|
],
|
|
];
|