fetch template file locally to circumvent basic auth
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user