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

Back to archive index

NobuNobu nobun****@users*****
2006年 11月 9日 (木) 16:29:51 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.16 xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.17
--- xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.16	Wed Nov  8 15:12:17 2006
+++ xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php	Thu Nov  9 16:29:51 2006
@@ -215,6 +215,26 @@
 		$this->_processPostFilter();
 	}
 	
+	/**
+	 * Subset of executeCommon() Method
+	 * It'll be used when process starts with $xoopsOption['nocommon'] and
+	 * This process requires connecting XOOPS Database or LEGACY constant values
+	 * But it won't do any other initial settings
+	 *  (eg. Session start, Permission handling)
+	 *
+	 * @access public
+     * @param bool $connectdb set false if you don't want to connetcting XOOPS Database
+	 *
+	 */
+    function executeCommonSubset($connectdb = true) {
+        $this->_setupErrorHandler();
+     	$this->_setupEnvironment();
+     	if ($connectdb) {
+     	    $this->_setupLogger();
+     	    $this->_setupDB();
+     	}
+    }
+
 	function _setupLogger()
 	{
 		require_once XOOPS_ROOT_PATH . '/class/logger.php';


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