2
0
forked from Wavyzz/dolibarr

Modif test d'installation

This commit is contained in:
Rodolphe Quiedeville
2004-02-11 15:39:50 +00:00
parent 5e075e733c
commit d77610c68f

View File

@@ -23,13 +23,24 @@
*/
define('DOL_VERSION','1.2.0-DEV');
if (! @include_once("conf/conf.php") or ! isset($dolibarr_main_db_host))
if (! @include_once("conf/conf.php"))
{
print "<center>\n";
print "<b>Bienvenue sur Dolibarr</b><br><br>\n";
print "Votre syst<73>me n'est pas encore configur<75>, pour proc<6F>der <20> l'installation, cliquer <a href=\"install/\">ici</a>";
print "</center>\n";
exit ;
exit ;
}
else
{
if (! isset($dolibarr_main_db_host))
{
print "<center>\n";
print "<b>Bienvenue sur Dolibarr</b><br><br>\n";
print "Votre syst<73>me n'est pas encore configur<75>, pour proc<6F>der <20> l'installation, cliquer <a href=\"install/\">ici</a>";
print "</center>\n";
exit ;
}
}
define('DOL_DOCUMENT_ROOT', $dolibarr_main_document_root);