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

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 5月 26日 (金) 21:08:15 JST


Index: xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.2 xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.3
--- xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.2	Fri May 26 18:38:56 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php	Fri May 26 21:08:15 2006
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: Legacy_EventFunctions.class.php,v 1.1.2.2 2006/05/26 09:38:56 minahito Exp $
+ * @version $Id: Legacy_EventFunctions.class.php,v 1.1.2.3 2006/05/26 12:08:15 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -14,7 +14,16 @@
 
 	function AccessToBackend(&$controller,$eventArgs)
 	{
-		$controller->executeForward(XOOPS_MODULE_URL . "/base/index.php?action=Backend");
+		require_once XOOPS_MODULE_PATH . "/base/class/ActionFrame.class.php";
+		
+		$moduleRunner =& new Legacy_ActionFrame(false);
+		$moduleRunner->setActionName('Backend');
+
+		$controller->setActionStrategy($moduleRunner);
+
+		$controller->executeAction();
+
+		$controller->executeView();
 	}
 }
 


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る