diff --git a/addons/core/routes.php b/addons/core/routes.php index ca279f34..5169a4cc 100644 --- a/addons/core/routes.php +++ b/addons/core/routes.php @@ -2,10 +2,29 @@ return [ [ - 'path' => '/addon-route', + 'path' => '/mythicaldash/php', 'view' => 'about.php', - 'addon' => __DIR__, // Assuming the routes.php file is in the root of the addon folder + 'addon' => __DIR__, + ], + [ + 'path' => '/mythicaldash/info', + 'view' => 'info.php', + 'addon' => __DIR__, + ], + [ + 'path' => '/mythicaldash/system', + 'view' => 'sysinfo.php', + 'addon' => __DIR__, + ], + [ + 'path' => '/mythicaldash/addons', + 'view' => 'addons.php', + 'addon' => __DIR__, + ], + [ + 'path' => '/mythicaldash/logs', + 'view' => 'logs.php', + 'addon' => __DIR__, ], - // Add more routes as needed ]; ?> diff --git a/addons/core/view/about.php b/addons/core/view/about.php index 56b9e1fb..a68d3dcf 100644 --- a/addons/core/view/about.php +++ b/addons/core/view/about.php @@ -2,11 +2,9 @@
-= phpinfo() ?>