commit | author | age
|
5686c9
|
1 |
<?php |
JK |
2 |
session_start(); |
|
3 |
$_SESSION['cas'] = $_GET['cas']; |
|
4 |
|
|
5 |
echo 'CAS server set.'."\n"; |
|
6 |
|
|
7 |
if(isset($_GET['cafile'])) { |
|
8 |
$_SESSION['cafile'] = $_GET['cafile']; |
|
9 |
echo 'CA file set.'."\n"; |
|
10 |
} else { |
|
11 |
unset($_SESSION['cafile']); |
|
12 |
echo 'CA file unset.'."\n"; |
|
13 |
} |
|
14 |
|
|
15 |
if(isset($_GET['method'])) { |
|
16 |
$_SESSION['method'] = $_GET['method']; |
|
17 |
echo 'Method set.'."\n"; |
|
18 |
} else { |
|
19 |
unset($_SESSION['method']); |
|
20 |
echo 'Method unset.'."\n"; |
|
21 |
} |
|
22 |
|
|
23 |
if(isset($_GET['url'])) { |
|
24 |
$_SESSION['url'] = $_GET['url']; |
|
25 |
echo 'URL set.'."\n"; |
|
26 |
} else { |
|
27 |
unset($_SESSION['url']); |
|
28 |
echo 'URL unset.'."\n"; |
|
29 |
} |