diff options
Diffstat (limited to 'src/website/cert.php')
-rw-r--r-- | src/website/cert.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/website/cert.php b/src/website/cert.php new file mode 100644 index 00000000..b0ab445a --- /dev/null +++ b/src/website/cert.php | |||
@@ -0,0 +1,29 @@ | |||
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 | // recover the session | ||
22 | session_start(); | ||
23 | if(!isset($_SESSION['contract'])){ | ||
24 | http_response_code(404); | ||
25 | echo "Sorry page.."; | ||
26 | } | ||
27 | else echo $_SESSION['contract']; | ||
28 | |||
29 | ?> | ||