[xoops-cvslog 3096] CVS update: xoops2jp/html/modules/user/admin/actions

Back to archive index

NobuNobu nobun****@users*****
2006年 5月 18日 (木) 01:42:32 JST


Index: xoops2jp/html/modules/user/admin/actions/GroupPropertyAction.class.php
diff -u xoops2jp/html/modules/user/admin/actions/GroupPropertyAction.class.php:1.1.2.4 xoops2jp/html/modules/user/admin/actions/GroupPropertyAction.class.php:1.1.2.5
--- xoops2jp/html/modules/user/admin/actions/GroupPropertyAction.class.php:1.1.2.4	Tue Apr 11 17:42:17 2006
+++ xoops2jp/html/modules/user/admin/actions/GroupPropertyAction.class.php	Thu May 18 01:42:32 2006
@@ -52,22 +52,23 @@
 		//
 		// Get...
 		//
-		require_once XOOPS_ROOT_PATH . "/modules/system/constants.php";
-		$fileHandler = opendir(XOOPS_ROOT_PATH . "/modules/system/admin");
-		while ($file = readdir($fileHandler)) {
-			$infoFile = XOOPS_ROOT_PATH . "/modules/system/admin/" . $file . "/xoops_version.php";
-			if (file_exists($infoFile)) {
-				require_once $infoFile;
-				if (!empty($modversion['category'])) {
-					$item =& new User_PermissionSystemAdminItem($modversion['category'], $modversion['name']);
-					$this->mSystemPermissions[] =& new User_Permission($this->mGroup->getVar('groupid'), $item);
-
-					unset($item);
-				}
-				unset($modversion);
-			}
-		}
-
+		if (file_exists(XOOPS_ROOT_PATH . "/modules/system/constants.php")) {
+    		require_once XOOPS_ROOT_PATH . "/modules/system/constants.php";
+    		$fileHandler = opendir(XOOPS_ROOT_PATH . "/modules/system/admin");
+    		while ($file = readdir($fileHandler)) {
+    			$infoFile = XOOPS_ROOT_PATH . "/modules/system/admin/" . $file . "/xoops_version.php";
+    			if (file_exists($infoFile)) {
+    				require_once $infoFile;
+    				if (!empty($modversion['category'])) {
+    					$item =& new User_PermissionSystemAdminItem($modversion['category'], $modversion['name']);
+    					$this->mSystemPermissions[] =& new User_Permission($this->mGroup->getVar('groupid'), $item);
+
+    					unset($item);
+    				}
+    				unset($modversion);
+    			}
+    		}
+        }
 		//
 		// Get module list
 		//


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