Skip to content
Snippets Groups Projects
Commit 7446bdad authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: régression temporaire afin de régler le problème avec : Dolibarr setup is not complete

parent 95466dfc
Branches
No related tags found
No related merge requests found
...@@ -60,11 +60,29 @@ else ...@@ -60,11 +60,29 @@ else
error_reporting(E_ALL ^ E_NOTICE); error_reporting(E_ALL ^ E_NOTICE);
// Test si install ok // Test si install ok
/*
if (! isset($dolibarr_main_db_host)) if (! isset($dolibarr_main_db_host))
{ {
print "Error: Dolibarr setup is not complete.\n"; print "Error: Dolibarr setup is not complete.\n";
exit; exit;
} }
*/
// Rgression temporaire
if (! @include_once("conf/conf.php"))
{
Header("Location: install/index.php");
exit;
}
else
{
if (! isset($dolibarr_main_db_host))
{
Header("Location: install/index.php");
exit;
}
}
//Fin rgression
if (empty($dolibarr_main_db_type)) $dolibarr_main_db_type='mysql'; // Pour compatibilite avec anciennes configs, si non defini, on prend 'mysql' if (empty($dolibarr_main_db_type)) $dolibarr_main_db_type='mysql'; // Pour compatibilite avec anciennes configs, si non defini, on prend 'mysql'
if (empty($dolibarr_main_data_root)) if (empty($dolibarr_main_data_root))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment