onokazu
onoka****@users*****
2005年 6月 6日 (月) 07:58:01 JST
Index: xoops2jp/html/class/token.php diff -u xoops2jp/html/class/token.php:1.1.2.8 xoops2jp/html/class/token.php:1.1.2.9 --- xoops2jp/html/class/token.php:1.1.2.8 Wed Jun 1 19:17:22 2005 +++ xoops2jp/html/class/token.php Mon Jun 6 07:58:01 2005 @@ -1,5 +1,5 @@ <?php -// $Id: token.php,v 1.1.2.8 2005/06/01 10:17:22 onokazu Exp $ +// $Id: token.php,v 1.1.2.9 2005/06/05 22:58:01 onokazu Exp $ define ( 'XOOPS_TOKEN_TIMEOUT', 0 ); define ( 'XOOPS_TOKEN_PREFIX', "XOOPS_TOKEN_" ); @@ -309,7 +309,7 @@ */ class XoopsMultiTokenHandler extends XoopsTokenHandler { - function &create($name,$timeout=XOOPS_TOKEN) + function &create($name,$timeout=XOOPS_TOKEN_TIMEOUT) { $token = new XoopsToken($name,$timeout); $token->setSerialNumber($this->getUniqueSerial($name));