[xoops-cvslog 5466] CVS update: xoops2jp/html/modules/legacyRender/preload

Back to archive index

Minahito minah****@users*****
2006年 10月 23日 (月) 20:05:52 JST


Index: xoops2jp/html/modules/legacyRender/preload/StartupXoopsTpl.class.php
diff -u /dev/null xoops2jp/html/modules/legacyRender/preload/StartupXoopsTpl.class.php:1.1.2.1
--- /dev/null	Mon Oct 23 20:05:52 2006
+++ xoops2jp/html/modules/legacyRender/preload/StartupXoopsTpl.class.php	Mon Oct 23 20:05:52 2006
@@ -0,0 +1,22 @@
+<?php
+/**
+ * @package legacyRender
+ * @version $Id: StartupXoopsTpl.class.php,v 1.1.2.1 2006/10/23 11:05:52 minahito Exp $
+ */
+
+if (!defined('XOOPS_ROOT_PATH')) exit();
+
+/**
+ * Some XOOPS2 resources need $xoopsTpl, before Legacy_RenderSystem will be
+ * prepared under XOOPS Cube regular process. For that, this action filter
+ * tries to get 'Legacy_RenderSystem' as dummy.
+ */
+class legacyRender_StartupXoopsTpl extends XCube_ActionFilter
+{
+	function preBlockFilter()
+	{
+		$dmy =& $this->mRoot->getRenderSystem('Legacy_RenderSystem');
+	}
+}
+
+?>


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