$targetcontent=preg_replace('/Put here some comments/','Initialy built by build_class_from_table on '.strftime('%Y-%m-%d %H:%M',mktime()),$targetcontent);
@@ -43,8 +43,8 @@ if (! $res && file_exists("../../../dolibarr/htdocs/main.inc.php")) $res=@includ
...
@@ -43,8 +43,8 @@ if (! $res && file_exists("../../../dolibarr/htdocs/main.inc.php")) $res=@includ
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&&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");
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