00001 <?php
00002
00003
00004
00008
00009 $ctype = (isset($ctype) ? $ctype : 'html');
00010 if ($ctype == 'css') {
00011 header('Content-Type: text/css; charset=ISO-8859-1');
00012 } else {
00013 $GLOBALS['now'] = gmdate('D, d M Y H:i:s') . ' GMT';
00014 header('Expires: ' . $GLOBALS['now']);
00015 header('Last-Modified: ' . $GLOBALS['now']);
00016 header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0');
00017 header('Pragma: no-cache');
00018 if (!isset($is_transformation_wrapper)) {
00019
00020 header('Content-Type: text/' . $ctype . '; charset=' . $GLOBALS['charset']);
00021 }
00022 }
00023 ?>