*** empty log message ***

svn path=/trunk/boinc/; revision=3172
This commit is contained in:
David Anderson 2004-03-26 18:37:46 +00:00
parent 300b2a8d10
commit 6e52689a40
3 changed files with 17 additions and 1 deletions

View File

@ -10945,3 +10945,14 @@ David Mar 26 2004
user/
create_account_form.php
edit_user_info_form.php
David Mar 26 2004
- Give the PHP session mechanism a "path" (last component of project URL)
to disambiguate multiple projects on same host,
so you can log into both at once w/ separate cookies
(suggested by Janus)
- Change "Most often asked" to "Most frequently asked"
html/inc/
forum.inc
util.inc

View File

@ -21,7 +21,7 @@ $forum_sort_styles['replies-most'] = "Most posts first";
$faq_sort_styles['create_time'] = "Most recent question first";
$faq_sort_styles['timestamp'] = "Most recent answer first";
$faq_sort_styles['activity'] = "Most often asked first";
$faq_sort_styles['activity'] = "Most frequently asked first";
$answer_sort_styles['score'] = "Highest score first";
$answer_sort_styles['timestamp'] = "Most recent first";

View File

@ -22,6 +22,11 @@ You will need your account ID to log in to the ".PROJECT." web site."
// for the session (if any)
//
function init_session() {
$url = parse_url(MASTER_URL);
$path = $url['path'];
if (strlen($path)) {
session_set_cookie_params(0, $path);
}
session_start();
// NOTE: in PHP 4.1+, s/key_exists/array_key_exists/
if (key_exists('authenticator', $_SESSION)) {