Deplacement de l'inclusion du fichier de conf
This commit is contained in:
parent
dd769fcc95
commit
79e3d2cfa4
@ -24,18 +24,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
if (! @include_once("conf/conf.php"))
|
||||
{
|
||||
Header("Location: install/index.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (! isset($dolibarr_main_db_host))
|
||||
{
|
||||
Header("Location: install/index.php");
|
||||
}
|
||||
}
|
||||
|
||||
require("master.inc.php");
|
||||
|
||||
// Verification du login.
|
||||
|
||||
@ -24,7 +24,17 @@
|
||||
define('DOL_VERSION','1.2.0-DEV');
|
||||
|
||||
|
||||
|
||||
if (! @include_once("conf/conf.php"))
|
||||
{
|
||||
Header("Location: install/index.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (! isset($dolibarr_main_db_host))
|
||||
{
|
||||
Header("Location: install/index.php");
|
||||
}
|
||||
}
|
||||
|
||||
define('DOL_DOCUMENT_ROOT', $dolibarr_main_document_root);
|
||||
define('DOL_DATA_ROOT', $dolibarr_main_data_root);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user