2
0
forked from Wavyzz/dolibarr

Debug v21

This commit is contained in:
Laurent Destailleur (aka Eldy)
2025-01-09 22:15:24 +01:00
parent e05acff8e0
commit 4527a0eb31

View File

@@ -230,15 +230,13 @@ $urlwithroot = DOL_MAIN_URL_ROOT; // This is to use same domain name than curren
$urlok = $urlwithroot.'/public/payment/paymentok.php?';
$urlko = $urlwithroot.'/public/payment/paymentko.php?';
/*
if ($ws) {
if ($ws && !defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { // So defined('USEEXTERNALSERVER') should be set but is not always
include_once DOL_DOCUMENT_ROOT.'/website/class/website.class.php';
$tmpwebsite = new WebSite($db);
$tmpwebsite->fetch(0, $ws);
$urlok = $tmpwebsite->virtualhost.'/public/payment/paymentok.php?';
$urlko = $tmpwebsite->virtualhost.'/public/payment/paymentko.php?';
}
*/
// Complete urls for post treatment
$ref = $REF = GETPOST('ref', 'alpha');