mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user