core.api.php

来自「简介:IceBB是一个强大」· PHP 代码 · 共 48 行

PHP
48
字号
<?php//******************************************************//
//           /////////                 ////   /////
//              //                    // //  //  //
//             //      /////  ////// ////   ////
//            //      //     ////   //  // //  //
//        /////////  /////  ////// /////  /////
//******************************************************//
// icebb.net // 0.9
//******************************************************//
// API core
// $Id$
//******************************************************///** * IceBB API core * * @package		IceBB * @version		0.9 * @date		October 23, 2005 */
class api_core
{	/**	 * Constructor:	 * Loads required classes to run the APIs	 */
	function api_core($icebb_instance='',$db_instance='',$std_instance='')	{		if(empty($icebb_instance))		{			require(PATH_TO_ICEBB.'icebb.php');			$this->icebb			= &$icebb;			$this->icebb_instance	= new icebb;			$this->icebb_instance->load_cache();			$this->icebb_instance->load_functions();			$this->db				= &$db;			$this->std				= &$std;		}		else {			$this->icebb			= &$icebb_instance;			$this->db				= &$db_instance;			$this->std				= &$std_instance;		}	}
}
 ?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?