From e2264e60b4829774f799b0040300492980667814 Mon Sep 17 00:00:00 2001 From: shish Date: Fri, 27 Jul 2007 00:20:12 +0000 Subject: [PATCH] allow default page to have a slash git-svn-id: file:///home/shish/svn/shimmie2/trunk@379 7f39781d-f577-437e-ae19-be835c7a54ca --- core/util.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/util.inc.php b/core/util.inc.php index 3e6967cf..8f7b76c0 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -402,8 +402,9 @@ function _get_page_request($page) { $args = _get_query_parts(); if(count($args) == 0 || strlen($args[0]) == 0) { - $page_name = $config->get_string('front_page', 'post/list'); - $args = array(); + $parts = split('/', $config->get_string('front_page', 'post/list')); + $page_name = array_shift($parts); + $args = $parts; } else if(count($args) == 1) { $page_name = $args[0];