We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18ffc4f commit e7ba4efCopy full SHA for e7ba4ef
server.php
@@ -92,6 +92,9 @@ function llxFooter() { }
92
if (!$res && @file_exists("../../../main.inc.php")) $res = @include "../../../main.inc.php";
93
if (!$res) die("Include of main fails");
94
95
+if(!defined('DOL_DOCUMENT_ROOT'))
96
+ define('DOL_DOCUMENT_ROOT', $dolibarr_main_document_root);
97
+
98
require DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php'; // auth method
99
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
100
0 commit comments