merchant dependent sites

This commit is contained in:
Rainer Gümpelein 2022-01-15 11:17:07 +01:00
parent 6250f08e10
commit 61c3c3deb9
3 changed files with 12 additions and 30 deletions

View file

@ -102,6 +102,11 @@ if(!$coo && !$q->param('merchant_id')){
print $jrout;
return Apache2::Const::OK;
exit 0;
}else{
($aowner,my $return_merchant) = $apif->fetch_merchant($q,\%varenv,$coo,$q->param('merchant_id'));
if($aowner && ($aowner == 195 || $aowner == 185 || $aowner == 176)){
$response->{agb_html} = "site/agb_konrad_1.html";
}
}
#If param>40 || value > 400 then exit