diff --git a/analyticshub.zip b/analyticshub.zip index 310c9a7..6e7b673 100644 Binary files a/analyticshub.zip and b/analyticshub.zip differ diff --git a/analyticshub/lib/Controller/PageController.php b/analyticshub/lib/Controller/PageController.php index 53bb1f6..7c5afc3 100644 --- a/analyticshub/lib/Controller/PageController.php +++ b/analyticshub/lib/Controller/PageController.php @@ -15,11 +15,13 @@ use OCP\AppFramework\Controller; */ class PageController extends Controller { - private $appName; + protected $appName; + protected $request; public function __construct(string $appName, IRequest $request) { parent::__construct($appName, $request); $this->appName = $appName; + $this->request = $request; } /** @@ -46,16 +48,16 @@ class PageController extends Controller { echo '
App Name: ' . htmlspecialchars($this->appName) . '
'; - echo 'Status: Controller successfully loaded and extending proper Controller base class.
'; + echo 'Request Path: ' . htmlspecialchars($this->request->getPathInfo()) . '
'; + echo 'Status: Controller properly initialized with protected property visibility.
'; echo '✅ Routing test successful!
'; echo 'The app is now working correctly. You can:
'; echo '