Debug v21
This commit is contained in:
parent
e05acff8e0
commit
4527a0eb31
1 changed files with 1 additions and 3 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue