From: Penny Leach Date: Fri, 30 Jun 2006 23:55:39 +0000 (+1200) Subject: include breakfast after gallery - fixes broken ordering X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8ae0b8b4405abcb95316c6a1c414b7f4dfe96e7c;p=s9y.git include breakfast after gallery - fixes broken ordering --- diff --git a/index.php b/index.php index d20b6c8..f96e08a 100644 --- a/index.php +++ b/index.php @@ -532,12 +532,12 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range } else if (preg_match(PAT_ABOUT, $uri, $matches)) { $serendipity['GET']['action'] = 'about'; include_once(S9Y_INCLUDE_PATH . 'include/genpage.inc.php'); -} else if (preg_match(PAT_BREAKFAST, $uri, $matches)) { - $serendipity['GET']['action'] = 'breakfast'; - include_once(S9Y_INCLUDE_PATH . 'include/genpage.inc.php'); } else if (preg_match(PAT_GALLERY, $uri, $matches)) { $serendipity['GET']['action'] = 'gallery'; include_once(S9Y_INCLUDE_PATH . 'include/genpage.inc.php'); +} else if (preg_match(PAT_BREAKFAST, $uri, $matches)) { + $serendipity['GET']['action'] = 'breakfast'; + include_once(S9Y_INCLUDE_PATH . 'include/genpage.inc.php'); } else if (preg_match(PAT_COMMENTS, $uri, $matches)) { $serendipity['view'] = 'comments'; $_args = serendipity_getUriArguments($uri, true); // Need to also match "." character