Ejemplo n.º 1
0
 function __construct()
 {
     return Tiger_mountain::findTiger();
 }
Ejemplo n.º 2
0
require TIGER_PATH . '/common/include.php';
/* 引进系统类 */
//引进核心类
require TIGER_PATH . '/core/Base.php';
//1
require TIGER_PATH . '/core/Error.php';
//10
require TIGER_PATH . '/core/Log.php';
//20
require TIGER_PATH . '/core/Lang.php';
//30
require TIGER_PATH . '/core/Template.php';
//200
//引进数据库类
require TIGER_PATH . '/db/DB.php';
$_tiger_mami = Tiger_mountain::findTiger();
class Tiger_mountain
{
    private static $_instance = null;
    private static $_instances = null;
    private static $_db = null;
    private static $_error = null;
    private static $_lang = null;
    private static $_template = null;
    private static $_config = null;
    private static $_halt = null;
    private static $_ver = null;
    //private static $_log = null;
    private function __construct()
    {
        self::$_instances = array();