]> git.mjollnir.org Git - s9y.git/commitdiff
fix typo for proper
authorgarvinhicking <garvinhicking>
Tue, 28 Nov 2006 14:40:42 +0000 (14:40 +0000)
committergarvinhicking <garvinhicking>
Tue, 28 Nov 2006 14:40:42 +0000 (14:40 +0000)
index.php

index 741efe5dac4b3e8970e7f976362f805091baaef2..9caac382fa5929ee64387f9a0324c41219c6c541 100644 (file)
--- 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 */