Update dump php page
This commit is contained in:
parent
29ebc61627
commit
22fb8b0cf9
@ -11,7 +11,22 @@ header('Content-Disposition: attachment; filename=Clipperz_'.date("Ymd").'.html'
|
|||||||
include "./objects/class.onetimepassword.php";
|
include "./objects/class.onetimepassword.php";
|
||||||
include "./objects/class.onetimepasswordstatus.php";
|
include "./objects/class.onetimepasswordstatus.php";
|
||||||
|
|
||||||
$htmlContent = file_get_contents("../index.html");
|
//$htmlContent = file_get_contents("../index.html");
|
||||||
|
switch ($_GET["frontend"]) {
|
||||||
|
case 'beta':
|
||||||
|
$htmlContent = file_get_contents("beta/index.html");
|
||||||
|
break;
|
||||||
|
case 'gamma':
|
||||||
|
$htmlContent = file_get_contents("gamma/index.html");
|
||||||
|
break;
|
||||||
|
case 'delta':
|
||||||
|
$htmlContent = file_get_contents("delta/index.html");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
exit ("Invalid Frontend");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
@ -100,4 +115,4 @@ header('Content-Disposition: attachment; filename=Clipperz_'.date("Ymd").'.html'
|
|||||||
session_write_close();
|
session_write_close();
|
||||||
|
|
||||||
echo str_replace("/*offline_data_placeholder*/", $data, $htmlContent);
|
echo str_replace("/*offline_data_placeholder*/", $data, $htmlContent);
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user