Minahito
minah****@users*****
2006年 1月 11日 (水) 12:32:51 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_ModuleController.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_ModuleController.class.php:1.1.2.1 xoops2jp/html/modules/base/kernel/Legacy_ModuleController.class.php:1.1.2.2 --- xoops2jp/html/modules/base/kernel/Legacy_ModuleController.class.php:1.1.2.1 Tue Dec 27 14:30:09 2005 +++ xoops2jp/html/modules/base/kernel/Legacy_ModuleController.class.php Wed Jan 11 12:32:51 2006 @@ -1,5 +1,5 @@ <?php -// $Id: Legacy_ModuleController.class.php,v 1.1.2.1 2005/12/27 05:30:09 minahito Exp $ +// $Id: Legacy_ModuleController.class.php,v 1.1.2.2 2006/01/11 03:32:51 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS Cube - PHP Content Management System // // Copyright (c) 2005 XOOPS Cube.org // @@ -103,7 +103,7 @@ function _getDirname() { $url_arr = explode("/",strstr($_SERVER['REQUEST_URI'],'/modules/')); - return $url_arr[2]; + return (isset($url_arr[2])) ? $url_arr[2] : null; } function setupLanguage() @@ -130,5 +130,10 @@ { return $this->mModuleObject; } + + function getDependRenderSystem() + { + return "Legacy_RenderSystem"; + } } ?> \ No newline at end of file