]> 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 <penny@catalyst.net.nz>
Tue, 8 Apr 2008 00:05:26 +0000 (12:05 +1200)
index.php

index d20b6c8f50b2fb11daa7fa2ebd158aefe1865205..f96e08a7b2d1280f79dd09bc3d0ff4d8e9a7865b 100644 (file)
--- 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