From 84dd3f482a8af37809b9ca8a93a39a2cf3235734 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 26 Nov 2022 22:02:02 +0100 Subject: [PATCH] do not show lists if plugin is not configured --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 697cc62..250ecdc 100644 --- a/index.php +++ b/index.php @@ -260,12 +260,12 @@ dcPage::breadcrumb([ ]) . dcPage::notices(); -if (dcCore::app()->error->flag()) { +if (dcCore::app()->error->flag() || !$is_configured) { echo - '

' . __('pacKman is not well configured.') . ' ' . + '

' . __('pacKman is not well configured.') . ' ' . '' . __('Configuration') . '' . - '

'; + '
'; } else { $repo_path_modules = array_merge( dcPackman::getPackages(dirname($repo_path . '/' . $s->packman_pack_filename)),