diff --git a/mod/phpinfo.php b/mod/phpinfo.php deleted file mode 100644 index 3228d250ba..0000000000 --- a/mod/phpinfo.php +++ /dev/null @@ -1,14 +0,0 @@ -addRoute(['GET'] , '/logs/view' , Module\Admin\Logs\View::class); $collector->addRoute(['GET', 'POST'], '/logs' , Module\Admin\Logs\Settings::class); + $collector->addRoute(['GET'] , '/phpinfo' , Module\Admin\PhpInfo::class); + $collector->addRoute(['GET'] , '/queue[/deferred]' , Module\Admin\Queue::class); $collector->addRoute(['GET', 'POST'], '/site' , Module\Admin\Site::class); diff --git a/src/Module/Admin/PhpInfo.php b/src/Module/Admin/PhpInfo.php new file mode 100644 index 0000000000..2d0e9c1d5a --- /dev/null +++ b/src/Module/Admin/PhpInfo.php @@ -0,0 +1,16 @@ + ['admin/item/delete' , L10n::t('Delete Item') , 'deleteitem'], ]], 'logs' => [L10n::t('Logs'), [ - 'logsconfig' => ['admin/logs/', L10n::t('Logs') , 'logs'], + 'logsconfig' => ['admin/logs/', L10n::t('Logs') , 'logs'], 'logsview' => ['admin/logs/view' , L10n::t('View Logs') , 'viewlogs'], ]], 'diagnostics' => [L10n::t('Diagnostics'), [ + 'phpinfo' => ['admin/phpinfo' , L10n::t('PHP Info') , 'phpinfo'], 'itemsource' => ['admin/item/source' , L10n::t('Item Source') , 'itemsource'], ]], ];