Skip to content

Commit

Permalink
added time()+ to setcookie
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@159 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Feb 4, 2001
1 parent 1fbc902 commit 6bbda16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set_project.php3
Expand Up @@ -10,7 +10,7 @@
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

### Add item
setcookie( $g_project_cookie, $f_project_id, $g_cookie_time_length );
setcookie( $g_project_cookie, $f_project_id, time()+$g_cookie_time_length );

header( "Location: $g_main_page" );
?>

0 comments on commit 6bbda16

Please sign in to comment.