fetch template file locally to circumvent basic auth
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-04-06 16:30:47 +02:00
parent b63f3d5878
commit 4bd35bf8dd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ fclose($csvfile);
// --- PRINT OUTPUT IN TEMPLATE FILE ---
$template = file_get_contents($_SERVER['REQUEST_SCHEME'] ."://". $_SERVER['HTTP_HOST'] . '/internal/pd-result.en.html', true);
$template = file_get_contents('../internal/pd-result.en.html', true);
echo replace_page($template, $html);
+1 -1
View File
@@ -255,7 +255,7 @@ fclose($csvfile);
// --- PRINT OUTPUT IN TEMPLATE FILE ---
$template = file_get_contents($_SERVER['REQUEST_SCHEME'] ."://". $_SERVER['HTTP_HOST'] . '/internal/rc-result.en.html', true);
$template = file_get_contents('../internal/rc-result.en.html', true);
echo replace_page($template, $html);