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=7daa14610a00b3be220e5787d5bc227677ffa3c5;p=s9y.git include breakfast after gallery - fixes broken ordering --- diff --git a/index.php b/index.php index 1bff776..f04b8c5 100644 --- a/index.php +++ b/index.php @@ -457,12 +457,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('@/(index(\.php|\.html)?)|'. preg_quote($serendipity['indexFile']) .'@', $uri) || preg_match('@^/' . preg_quote(trim($serendipity['serendipityHTTPPath'], '/')) . '/?(\?.*)?$@', $uri)) {