Doc
This commit is contained in:
parent
71da2c80f0
commit
3d51fb2f7e
@ -250,8 +250,8 @@ function getOnlinePaymentUrl($mode, $type, $ref = '', $amount = '9.99', $freetag
|
|||||||
$urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
|
$urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
|
||||||
//$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current
|
//$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current
|
||||||
|
|
||||||
$urltouse = DOL_MAIN_URL_ROOT;
|
$urltouse = DOL_MAIN_URL_ROOT; // Should be "https://www.mydomain.com/mydolibarr" for example
|
||||||
dol_syslog("getOnlinePaymentUrl DOL_MAIN_URL_ROOT=".DOL_MAIN_URL_ROOT);
|
//dol_syslog("getOnlinePaymentUrl DOL_MAIN_URL_ROOT=".DOL_MAIN_URL_ROOT);
|
||||||
|
|
||||||
if ($localorexternal) {
|
if ($localorexternal) {
|
||||||
$urltouse = $urlwithroot;
|
$urltouse = $urlwithroot;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user