Fix template path
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Reinhard Müller 2024-10-21 12:07:32 +02:00
parent aba93c9940
commit 7985337ead

View File

@ -51,7 +51,8 @@ my $form = " <!-- payment parameters -->\n" .
# -----------------------------------------------------------------------------
print "Content-type: text/html\n\n";
open TEMPLATE, "/srv/www/html/global/order/tmpl-thankyou." . $lang . ".html";
open TEMPLATE,
$ENV{"DOCUMENT_ROOT"} . "/order/tmpl-thankyou." . $lang . ".html";
while (<TEMPLATE>) {
s/:AMOUNT:/$amount_f/g;
s/:REFERENCE:/$reference/g;