mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-12-21 14:47:49 +01:00
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.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();
|
||||
|
||||
@ -100,4 +115,4 @@ header('Content-Disposition: attachment; filename=Clipperz_'.date("Ymd").'.html'
|
||||
session_write_close();
|
||||
|
||||
echo str_replace("/*offline_data_placeholder*/", $data, $htmlContent);
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user