[xoops-cvslog 5439] CVS update: xoops2jp/html/include

Back to archive index

Minahito minah****@users*****
2006年 10月 21日 (土) 20:09:13 JST


Index: xoops2jp/html/include/functions.php
diff -u xoops2jp/html/include/functions.php:1.2.8.19.2.2 xoops2jp/html/include/functions.php:1.2.8.19.2.3
--- xoops2jp/html/include/functions.php:1.2.8.19.2.2	Sun Oct 15 00:37:40 2006
+++ xoops2jp/html/include/functions.php	Sat Oct 21 20:09:13 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: functions.php,v 1.2.8.19.2.2 2006/10/14 15:37:40 minahito Exp $
+// $Id: functions.php,v 1.2.8.19.2.3 2006/10/21 11:09:13 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -484,7 +484,8 @@
  */
 function getTheme()
 {
-    return $GLOBALS['xoopsConfig']['theme_set'];
+	$root =& XCube_Root::getSingleton();
+	return $root->mContext->getXoopsConfig('theme_set');
 }
 
 /*


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