From c742614828e2e9a2d809be65553ead0012775577 Mon Sep 17 00:00:00 2001 From: shish Date: Sat, 28 Jul 2007 19:59:17 +0000 Subject: [PATCH] these are set in ext/setup's initextevent handler git-svn-id: file:///home/shish/svn/shimmie2/trunk@393 7f39781d-f577-437e-ae19-be835c7a54ca --- core/util.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/util.inc.php b/core/util.inc.php index 3f7ad190..b09acc06 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -95,7 +95,7 @@ function tag_explode($tags) { function make_link($page=null, $query=null) { global $config; - if(is_null($page)) $page = $config->get_string('main_page', 'post/list'); + if(is_null($page)) $page = $config->get_string('main_page'); $base = $config->get_string('base_href', './index.php?q='); @@ -402,7 +402,7 @@ function _get_page_request($page) { $args = _get_query_parts(); if(count($args) == 0 || strlen($args[0]) == 0) { - $parts = split('/', $config->get_string('front_page', 'post/list')); + $parts = split('/', $config->get_string('front_page')); $page_name = array_shift($parts); $args = $parts; }