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)),