if ($serendipity['expose_s9y']) {
header('X-Blog: Serendipity'); // Used for installer detection
}
-
+
if ($serendipity['CacheControl']) {
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2')) {
header('Cache-Control: no-cache, pre-check=0, post-check=0');
header("Location: {$base}serendipity_admin.php");
exit;
} else if (preg_match(PAT_ARCHIVE, $uri)) {
- $serendipity['view'] = 'archives';
+ $serendipity['view'] = 'archive';
$serendipity['GET']['action'] = 'archives';
$_args = $serendipity['uriArguments'];
/* Attempt to locate hidden variables within the URI */