Permalink
Browse files

WARNING: Function 'session_register' is deprecated

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 3f2a02c1bae3ade932f9a024f99fb4221fed3c8b
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/HTMLChess.php
View
@@ -43,7 +43,7 @@ function setup_game($session_id, $gamename)
session_destroy();
}
session_name($session_id);
- session_register($gamename);
+ $_SESSION[$gamename] = null;
}
/**

0 comments on commit 3f2a02c

Please sign in to comment.