[xoops-cvslog 4906] CVS update: xoops2jp/html/modules/base/preload

Back to archive index

NobuNobu nobun****@users*****
2006年 10月 8日 (日) 21:15:23 JST


Index: xoops2jp/html/modules/base/preload/IPbanningFilter.class.php
diff -u xoops2jp/html/modules/base/preload/IPbanningFilter.class.php:1.1.2.2 xoops2jp/html/modules/base/preload/IPbanningFilter.class.php:1.1.2.2.2.1
--- xoops2jp/html/modules/base/preload/IPbanningFilter.class.php:1.1.2.2	Thu Sep 14 15:06:13 2006
+++ xoops2jp/html/modules/base/preload/IPbanningFilter.class.php	Sun Oct  8 21:15:23 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package Legacy
- * @version $Id: IPbanningFilter.class.php,v 1.1.2.2 2006/09/14 06:06:13 minahito Exp $
+ * @version $Id: IPbanningFilter.class.php,v 1.1.2.2.2.1 2006/10/08 12:15:23 nobunobu Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -14,7 +14,7 @@
 {
 	function preBlockFilter()
 	{
-		if ($this->mController->mConfig['enable_badips']) {
+		if ($this->mRoot->mContext->getXoopsConfig('enable_badips')) {
 			if (isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR']) {
 				foreach ($this->mController->mConfig['bad_ips'] as $bi) {
 					if(!empty($bi) && strstr($_SERVER['REMOTE_ADDR'], $bi)!==false) {


xoops-cvslog メーリングリストの案内
Back to archive index