if(!$res&&file_exists("../../../dolibarr/htdocs/main.inc.php"))$res=@include("../../../dolibarr/htdocs/main.inc.php");// Used on dev env only
if(!$res&&file_exists("../../../../dolibarr/htdocs/main.inc.php"))$res=@include("../../../../dolibarr/htdocs/main.inc.php");// Used on dev env only
if(!$res&&file_exists("../../../../../dolibarr/htdocs/main.inc.php"))$res=@include("../../../../../dolibarr/htdocs/main.inc.php");// Used on dev env only
if(!$res)die("Include of main fails");
// Change this following line to use the correct relative path from htdocs (do not remove DOL_DOCUMENT_ROOT)
// Change this following line to use the correct relative path from htdocs (do not remove DOL_DOCUMENT_ROOT)