diff --git a/htdocs/index.php b/htdocs/index.php index c11e567466ceb4b29cbe0c1c3fad2b8be06f093f..e8779f827d10c941a53e7cf9461863224aa02e9c 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -46,7 +46,7 @@ $hookmanager->initHooks(array('index')); // Check if company name is defined (first install) if (!isset($conf->global->MAIN_INFO_SOCIETE_NOM) || empty($conf->global->MAIN_INFO_SOCIETE_NOM)) { - header("Location: ".DOL_URL_ROOT."/admin/company.php?mainmenu=home&leftmenu=setup&mesg=setupnotcomplete"); + header("Location: ".DOL_URL_ROOT."/admin/index.php?mainmenu=home&leftmenu=setup&mesg=setupnotcomplete"); exit; }