aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/cert.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/cert.php')
-rw-r--r--src/frontend/cert.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/frontend/cert.php b/src/frontend/cert.php
new file mode 100644
index 00000000..3b719b24
--- /dev/null
+++ b/src/frontend/cert.php
@@ -0,0 +1,32 @@
1<?php
2
3/*
4
5 This file is part of TALER
6 Copyright (C) 2014, 2015 Christian Grothoff (and other contributing authors)
7
8 TALER is free software; you can redistribute it and/or modify it under the
9 terms of the GNU General Public License as published by the Free Software
10 Foundation; either version 3, or (at your option) any later version.
11
12 TALER is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License along with
17 TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
18
19*/
20
21// Here goes all the Taler pay logic
22
23
24// recover the session
25 session_start();
26 if(!isset($_SESSION['contract'])){
27 http_response_code(404);
28 echo "Sorry page..";
29 }
30 else echo $_SESSION['contract'];
31
32?>