|
Lines 194-202
sub get_template_and_user {
Link Here
|
| 194 |
|
194 |
|
| 195 |
$template->param( loginprompt => 1 ); |
195 |
$template->param( loginprompt => 1 ); |
| 196 |
print $in->{query}->header( |
196 |
print $in->{query}->header( |
| 197 |
-type => 'text/html', |
197 |
{ type => 'text/html', |
| 198 |
-charset => 'utf-8', |
198 |
charset => 'utf-8', |
| 199 |
-cookie => $cookie, |
199 |
cookie => $cookie, |
|
|
200 |
'X-Frame-Options' => 'SAMEORIGIN' |
| 201 |
} |
| 200 |
), |
202 |
), |
| 201 |
$template->output; |
203 |
$template->output; |
| 202 |
safe_exit; |
204 |
safe_exit; |
|
Lines 1307-1315
sub checkauth {
Link Here
|
| 1307 |
# $cookie = $query->cookie(CGISESSID => $session->id |
1309 |
# $cookie = $query->cookie(CGISESSID => $session->id |
| 1308 |
# ); |
1310 |
# ); |
| 1309 |
print $query->header( |
1311 |
print $query->header( |
| 1310 |
-type => 'text/html', |
1312 |
{ type => 'text/html', |
| 1311 |
-charset => 'utf-8', |
1313 |
charset => 'utf-8', |
| 1312 |
-cookie => $cookie |
1314 |
cookie => $cookie, |
|
|
1315 |
'X-Frame-Options' => 'SAMEORIGIN' |
| 1316 |
} |
| 1313 |
), |
1317 |
), |
| 1314 |
$template->output; |
1318 |
$template->output; |
| 1315 |
safe_exit; |
1319 |
safe_exit; |
| 1316 |
- |
|
|