Skip to content

Commit

Permalink
WARNING: Function 'session_register' is deprecated
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/Games_Chess/trunk@303022 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
CloCkWeRX committed Sep 3, 2010
1 parent 953e9cd commit 3f2a02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/HTMLChess.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function setup_game($session_id, $gamename)
session_destroy(); session_destroy();
} }
session_name($session_id); session_name($session_id);
session_register($gamename); $_SESSION[$gamename] = null;
} }


/** /**
Expand Down

0 comments on commit 3f2a02c

Please sign in to comment.