diff options
author | rub <rub@piwigo.org> | 2007-02-07 23:08:04 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-02-07 23:08:04 +0000 |
commit | 5631a3fc545bd736cb4b82a93fa7d2b48814973c (patch) | |
tree | aea9cfa1fb8f563e1d41fd4b611a6024864c1af4 /include/menubar.inc.php | |
parent | 3c8775b25255a2be4f561b1c0ede275cbae3f73b (diff) |
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
Diffstat (limited to 'include/menubar.inc.php')
-rw-r--r-- | include/menubar.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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', |