]> git.mjollnir.org Git - s9y.git/commitdiff
include breakfast after gallery - fixes broken ordering
authorPenny Leach <mjollnir@titania.local>
Fri, 30 Jun 2006 23:55:39 +0000 (11:55 +1200)
committerPenny Leach <mjollnir@titania.local>
Fri, 30 Jun 2006 23:55:39 +0000 (11:55 +1200)
index.php

index 1bff7766a0009da2ea333563fba8614ce0ab4e26..f04b8c5c6e77317d96076f49c57227c95fd5567c 100644 (file)
--- 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)) {