Minahito
minah****@users*****
2007年 1月 15日 (月) 15:00:55 JST
Index: xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php diff -u xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.29 xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.30 --- xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.29 Sun Jan 14 01:27:11 2007 +++ xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php Mon Jan 15 15:00:55 2007 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: Legacy_Controller.class.php,v 1.1.2.29 2007/01/13 16:27:11 nobunobu Exp $ + * @version $Id: Legacy_Controller.class.php,v 1.1.2.30 2007/01/15 06:00:55 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -500,6 +500,9 @@ define('XOOPS_DB_PROXY', 1); } } + elseif ($_SERVER['REQUEST_METHOD'] != 'POST') { + define('XOOPS_DB_PROXY', 1); + } $this->mDB =& XoopsDatabaseFactory::getDatabaseConnection();