Better error message

This commit is contained in:
Laurent Destailleur 2024-11-20 13:22:37 +01:00
parent 322e8c921d
commit 28f657ea1d

View File

@ -268,7 +268,7 @@ if (empty($dolibarr_strict_mode)) {
define('DOL_DOCUMENT_ROOT', $dolibarr_main_document_root); // Filesystem core php (htdocs)
if (!file_exists(DOL_DOCUMENT_ROOT."/core/lib/functions.lib.php")) {
print "Error: Dolibarr config file content seems to be not correctly defined.<br>\n";
print "Error: Dolibarr config file content seems to be not correctly defined (file ".DOL_DOCUMENT_ROOT."/core/lib/functions.lib.php not found).<br>\n";
print "Please run dolibarr setup by calling page <b>/install</b>.<br>\n";
exit(1);
}