From: garvinhicking Date: Tue, 28 Nov 2006 14:40:42 +0000 (+0000) Subject: fix typo for proper X-Git-Tag: 1.1~16 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fb6aec891f5621e9da10b9a062a54e6ab4a5ed04;p=s9y.git fix typo for proper --- diff --git a/index.php b/index.php index 741efe5..9caac38 100644 --- a/index.php +++ b/index.php @@ -26,7 +26,7 @@ header('Content-Type: text/html; charset='. LANG_CHARSET); 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'); @@ -335,7 +335,7 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range 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 */