From 5631a3fc545bd736cb4b82a93fa7d2b48814973c Mon Sep 17 00:00:00 2001 From: rub Date: Wed, 7 Feb 2007 23:08:04 +0000 Subject: Issue 0000639: Force selected page on index.php When page index.php is called without defined section, redirect to a page selected by random on a user list. git-svn-id: http://piwigo.org/svn/trunk@1788 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/menubar.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/menubar.inc.php') diff --git a/include/menubar.inc.php b/include/menubar.inc.php index 4a35cccbf..030c46cbd 100644 --- a/include/menubar.inc.php +++ b/include/menubar.inc.php @@ -43,7 +43,7 @@ $template->assign_vars( 'USERNAME' => $user['username'], 'MENU_CATEGORIES_CONTENT' => get_categories_menu(), 'F_IDENTIFY' => get_root_url().'identification.php', - 'U_HOME' => make_index_url(), + 'U_CATEGORIES' => make_index_url(array('section' => 'categories')), 'U_REGISTER' => get_root_url().'register.php', 'U_LOST_PASSWORD' => get_root_url().'password.php', 'U_LOGOUT' => get_root_url().'?act=logout', -- cgit v1.2.3