-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
20 lines (17 loc) · 782 Bytes
/
header.php
File metadata and controls
20 lines (17 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
//---------------------Headers' header-----------------------------------------
// sets encoding defined in config for language support
header('Content-Type: text/html; charset='.$site_encoding);
header('Expires: Tue, 01 Jan 2000 00:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
$smarty->assign('title',$title);
$smarty->assign('site_encoding',$site_encoding);
$smarty->assign('theme',$theme);
if ($tt_lang)
$smarty->assign('show_wowhead', true);
$smarty->display('header.tpl');
$smarty->clear_all_assign();
?>