[xoops-cvslog 4692] CVS update: xoops2jp/html/modules/base/kernel

Back to archive index

Minahito minah****@users*****
2006年 9月 29日 (金) 17:14:20 JST


Index: xoops2jp/html/modules/base/kernel/Legacy_UserAccountAdapter.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_UserAccountAdapter.class.php:1.1.2.2 xoops2jp/html/modules/base/kernel/Legacy_UserAccountAdapter.class.php:1.1.2.2.2.1
--- xoops2jp/html/modules/base/kernel/Legacy_UserAccountAdapter.class.php:1.1.2.2	Tue Mar 28 22:30:15 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_UserAccountAdapter.class.php	Fri Sep 29 17:14:20 2006
@@ -2,7 +2,7 @@
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
-require_once XOOPS_ROOT_PATH."/kernel/XCube_UserAccount.class.php";
+require_once XOOPS_ROOT_PATH."/core/XCube_UserAccount.class.php";
 
 class Legacy_UserAccountAdapter extends XCube_UserAccount
 {
Index: xoops2jp/html/modules/base/kernel/Legacy_LanguageManager.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_LanguageManager.class.php:1.1.2.11 xoops2jp/html/modules/base/kernel/Legacy_LanguageManager.class.php:1.1.2.11.2.1
--- xoops2jp/html/modules/base/kernel/Legacy_LanguageManager.class.php:1.1.2.11	Sat Sep  2 10:38:08 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_LanguageManager.class.php	Fri Sep 29 17:14:20 2006
@@ -1,12 +1,12 @@
 <?php
 /**
  * @package legacy
- * @version $Id: Legacy_LanguageManager.class.php,v 1.1.2.11 2006/09/02 01:38:08 minahito Exp $
+ * @version $Id: Legacy_LanguageManager.class.php,v 1.1.2.11.2.1 2006/09/29 08:14:20 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
-require_once XOOPS_ROOT_PATH . "/kernel/XCube_LanguageManager.class.php";
+require_once XOOPS_ROOT_PATH . "/core/XCube_LanguageManager.class.php";
 
 class Legacy_LanguageManager extends XCube_LanguageManager
 {
Index: xoops2jp/html/modules/base/kernel/Legacy_Identity.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_Identity.class.php:1.1.2.1 xoops2jp/html/modules/base/kernel/Legacy_Identity.class.php:1.1.2.2
--- xoops2jp/html/modules/base/kernel/Legacy_Identity.class.php:1.1.2.1	Thu Sep 28 19:24:11 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_Identity.class.php	Fri Sep 29 17:14:20 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package Legacy
- * @version $Id: Legacy_Identity.class.php,v 1.1.2.1 2006/09/28 10:24:11 minahito Exp $
+ * @version $Id: Legacy_Identity.class.php,v 1.1.2.2 2006/09/29 08:14:20 minahito Exp $
  */
 
 class Legacy_Identity extends XCube_Identity
@@ -23,5 +23,20 @@
 	}
 }
 
+class Legacy_AnonymousIdentity extends XCube_Identity
+{
+	function isAuthenticated()
+	{
+		return false;
+	}
+}
+
+class Legacy_GenericPrincipal extends XCube_Principal
+{
+	function isInRole($roleName)
+	{
+		return in_array($roleName, $this->_mRoles);
+	}
+}
 
 ?>
\ No newline at end of file
Index: xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.79.2.2 xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.79.2.3
--- xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.79.2.2	Thu Sep 28 19:23:38 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php	Fri Sep 29 17:14:20 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package Legacy
- * @version $Id: Legacy_Controller.class.php,v 1.1.2.79.2.2 2006/09/28 10:23:38 minahito Exp $
+ * @version $Id: Legacy_Controller.class.php,v 1.1.2.79.2.3 2006/09/29 08:14:20 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -215,7 +215,7 @@
 
 		require_once XOOPS_BASE_PATH."/kernel/object.php";				// ToDo (here?)
 		require_once XOOPS_BASE_PATH."/kernel/handler.php";				// ToDo
-		require_once XOOPS_ROOT_PATH."/kernel/XCube_Utils.class.php";	// ToDo
+		require_once XOOPS_ROOT_PATH."/core/XCube_Utils.class.php";	// ToDo
 
 		require_once XOOPS_ROOT_PATH.'/class/xoopssecurity.php';
 		$_GLOBALS['xoopsSecurity'] = new XoopsSecurity();


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