Fix: Bad url

This commit is contained in:
Laurent Destailleur 2011-03-12 16:38:42 +00:00
parent 126f170122
commit 575661eddc

View File

@ -78,8 +78,8 @@ if (! GETPOST("action"))
} }
$urlwithouturlroot=preg_replace('/'.preg_quote(DOL_URL_ROOT,'/').'$/i','',$dolibarr_main_url_root); $urlwithouturlroot=preg_replace('/'.preg_quote(DOL_URL_ROOT,'/').'$/i','',$dolibarr_main_url_root);
$urlok=$urlwithouturlroot.DOL_URL_ROOT.'/public/paypal/paymentok.php?'; $urlok=$urlwithouturlroot.DOL_URL_ROOT.'/public/paybox/paymentok.php?';
$urlko=$urlwithouturlroot.DOL_URL_ROOT.'/public/paypal/paymentko.php?'; $urlko=$urlwithouturlroot.DOL_URL_ROOT.'/public/paybox/paymentko.php?';
// Complete urls // Complete urls
$TAG=GETPOST("tag",'alpha'); $TAG=GETPOST("tag",'alpha');