From 8ae0b8b4405abcb95316c6a1c414b7f4dfe96e7c Mon Sep 17 00:00:00 2001 From: Penny Leach Date: Sat, 1 Jul 2006 11:55:39 +1200 Subject: [PATCH] include breakfast after gallery - fixes broken ordering --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5