Version 2.2.2
This commit is contained in:
1 parent
22f1b963ee
commit
a3bb603c96
858 files changed
+479463
-188140
No files matched your search
@@ -2,16 +2,26 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| Invision Power Board 2.2.2
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Monday 05th of March 2007 10:10:54 PM
|
||||
| Release: e3790216629e5a2aaf37070b32237f06
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
| http://www.ibresource.ru/license
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-09-22 11:28:54 +0100 (Fri, 22 Sep 2006) $
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-09-22 05:28:54 -0500 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
@@ -24,17 +34,16 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* API: CORE
|
||||
* API: ßÄÐÎ
|
||||
*
|
||||
* This class deals with all core functions.
|
||||
* This class deals with all available language functions.
|
||||
* If $ipsclass is passed to it, then it will skip the init
|
||||
* However, if $ipsclass is not an object, it'll initialize
|
||||
* the $ipsclass object, and by default load all the required
|
||||
* IPB classes and init them (DB, converge, forums, display, session)
|
||||
* and it'll also get a new DB connection and load settings and caches.
|
||||
* You can alter which classes are loaded via the $this->load_classes[-class-] = 1;
|
||||
* array
|
||||
* Äàííûé êëàññ ñîäåðæèò âñå áàçîâûå ôóíêöèè, à òàêæå âñå ôóíêöèè ïî ðàáîòå
|
||||
* ñ ÿçûêàìè.
|
||||
* Åñëè $ipsclass íå ïåðåäàåòñÿ â îáúåêò êëàññà, òî îáúåêò ipsclass
|
||||
* èíèöèàëèçèðóåòñÿ àâòîìàòè÷åñêèþ, çàãðóæàþòñÿ âñå íåîáõîäèìûå áàçîâûå êëàññû
|
||||
* è èíèöèàëèçèðóþòñÿ èõ îáúåêòû (DB, converge, forums, display, session).
|
||||
* Ñîçäàåòñÿ íîâîå ïîäêëþ÷åíèå ê ÁÄ, çàãðóæàþòñÿ âñå íåîáõîäèìûå êåøè.
|
||||
* Âû ìîæåòå óïðàâëÿòü ïîäêëþ÷åíèåì êëàññîâ ÷åðåç ìàññèâ
|
||||
* $this->load_classes[-class-] = 1;
|
||||
*
|
||||
* @package InvisionPowerBoard
|
||||
* @subpackage APIs
|
||||
@@ -44,9 +53,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* API: CORE
|
||||
* API: ßÄÐÎ
|
||||
*
|
||||
* This class deals with all core functions.
|
||||
* Êëàññ ïðåäîñòàâëÿåò âñå áàçîâûå ìåòîäû API.
|
||||
*
|
||||
* @package InvisionPowerBoard
|
||||
* @subpackage APIs
|
||||
@@ -57,7 +66,7 @@
|
||||
class api_core
|
||||
{
|
||||
/**
|
||||
* IPS Class Object
|
||||
* Îáúåêò ñóïåð-êëàññà IPS
|
||||
*
|
||||
* @var object
|
||||
*/
|
||||
@@ -71,30 +80,30 @@ class api_core
|
||||
var $init_run;
|
||||
|
||||
/**
|
||||
* API Error string
|
||||
* Ìàññèâ îøèáîê API
|
||||
*
|
||||
* @var array Errors
|
||||
*/
|
||||
var $api_error = array();
|
||||
|
||||
/**
|
||||
* API Load full?
|
||||
* Ôëàã ïîëíîé çàãðóçêè API
|
||||
*
|
||||
* @var integer boolean
|
||||
*/
|
||||
var $full_load = 1;
|
||||
|
||||
/**
|
||||
* API Path to IPB root (where init.php/index.php is)
|
||||
* Êîðíåâîé ïóòü äëÿ API (ãäå íàõîäÿòñÿ ôàéëû init.php/index.php)
|
||||
*
|
||||
* @var string Path to IPB root folder
|
||||
* @var string Ïóòü ê êîðíåâîé äèðåêòîðèè IPB
|
||||
*/
|
||||
var $path_to_ipb = '../../';
|
||||
|
||||
/**
|
||||
* API Load classes
|
||||
* Êëàññû äëÿ çàãðóçêè API
|
||||
*
|
||||
* @var array Classes to load default: [print,forums,converge,session]
|
||||
* @var array Êëàññû çàãðóæàåìûå ïî óìîë÷àíèþ: [print,forums,converge,session]
|
||||
*/
|
||||
var $load_classes = array( 'print' => 1,
|
||||
'forums' => 1,
|
||||
@@ -102,11 +111,11 @@ class api_core
|
||||
'session' => 1 );
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// API init
|
||||
// Èíèöèàëèçàöèÿ API
|
||||
/*-------------------------------------------------------------------------*/
|
||||
/**
|
||||
* Determines if we have required ipsclass vars
|
||||
* on hand
|
||||
* Ïðîâåðêà íàëè÷èÿ íåîáõîäèìîãî îáúåêòà ipsclass è íåîáõîäèìîñòü ïîäêëþ÷åíèÿ
|
||||
* íåîáõîäèìûõ êëàññîâ
|
||||
*
|
||||
* @return void;
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user