mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix php-stan
This commit is contained in:
parent
ad249cec23
commit
148deff4ee
|
|
@ -232,7 +232,7 @@ $urlko = $urlwithroot.'/public/payment/paymentko.php?';
|
|||
|
||||
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 = new Website($db);
|
||||
$tmpwebsite->fetch(0, $ws);
|
||||
$urlok = $tmpwebsite->virtualhost.'/public/payment/paymentok.php?';
|
||||
$urlko = $tmpwebsite->virtualhost.'/public/payment/paymentko.php?';
|
||||
|
|
|
|||
|
|
@ -174,6 +174,7 @@ $error = 0;
|
|||
|
||||
// Check if we have redirtodomain to do.
|
||||
$ws_virtuelhost = null;
|
||||
$doactionsthenredirect = 0;
|
||||
if ($ws) {
|
||||
$doactionsthenredirect = 1;
|
||||
include_once DOL_DOCUMENT_ROOT.'/website/class/website.class.php';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user