[xoops-cvslog 5922] CVS update: xoops2jp/html/modules/legacy/kernel

Back to archive index

NobuNobu nobun****@users*****
2006年 11月 20日 (月) 22:59:44 JST


Index: xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php
diff -u xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.23 xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.24
--- xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.23	Wed Nov 15 19:45:03 2006
+++ xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php	Mon Nov 20 22:59:44 2006
@@ -647,7 +647,8 @@
 		//
 		if ($this->mRoot->getSiteConfig('Legacy', 'AutoPreload') == 1) {
             $moduleHandler =& xoops_gethandler('module');
-            $moduleObjects =& $moduleHandler->getObjects();
+            $criteria =& new Criteria('isactive', 1);
+            $moduleObjects =& $moduleHandler->getObjects($criteria);
             foreach ($moduleObjects as $moduleObject) {
                 $mod_dir = $moduleObject->getVar('dirname');
                 $dir = XOOPS_ROOT_PATH . '/modules/' . $mod_dir . $dirname . '/';


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