[xoops-cvslog 4421] CVS update: xoops2jp/html/preload

Back to archive index

Minahito minah****@users*****
2006年 9月 2日 (土) 10:47:48 JST


Index: xoops2jp/html/preload/IndexRedirector.class.php
diff -u xoops2jp/html/preload/IndexRedirector.class.php:1.1.2.4 xoops2jp/html/preload/IndexRedirector.class.php:removed
--- xoops2jp/html/preload/IndexRedirector.class.php:1.1.2.4	Mon Jul 31 19:36:50 2006
+++ xoops2jp/html/preload/IndexRedirector.class.php	Sat Sep  2 10:47:48 2006
@@ -1,26 +0,0 @@
-<?php
-/**
- * @version $Id$
- */
-
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-class IndexRedirector extends XCube_ActionFilter
-{
-	function preBlockFilter()
-	{
-		$this->mController->mRoot->mDelegateManager->add("Legacypage.Top.Access", array(&$this, "redirect"));
-	}
-
-	function redirect()
-	{
-		$startPage = $this->mController->getConfig('startpage');
-		$handler =& xoops_gethandler('module');
-		$module =& $handler->get($startPage);
-		if ($startPage != null && $startPage != "--" && !is_object($module)) {
-			$this->mController->executeForward(XOOPS_URL . '/modules/' . $module->getShow('dirname') . '/');
-		}
-	}
-}
-
-?>
\ No newline at end of file


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