Version 2.2.2

This commit is contained in:
Neo committed 2025-12-19 00:24:35 -08:00
1 parent 22f1b963ee
commit a3bb603c96
858 files changed
+479463 -188140

No files matched your search

+14 -6
View File
@@ -2,14 +2,22 @@
/*
+--------------------------------------------------------------------------
| 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:55 PM
| Release: e3790216629e5a2aaf37070b32237f06
| Licence Info: http://www.invisionboard.com/?license
| http://www.ibresource.ru/license
+---------------------------------------------------------------------------
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
+---------------------------------------------------------------------------
| > $Date: 2005-10-10 14:03:20 +0100 (Mon, 10 Oct 2005) $
| > $Revision: 22 $
@@ -197,7 +205,7 @@ class class_xml
*
* @ var string
*/
var $doc_type = 'ISO-8859-1';
var $doc_type = 'WINDOWS-1251';
/*-------------------------------------------------------------------------*/
// CONSTRUCTOR
@@ -205,7 +213,7 @@ class class_xml
function class_xml()
{
ini_set("memory_limit", "32M");
@ini_set("memory_limit", "128M");
//$this->header = '<?xml version="1.0" encoding="'.$this->doc_type.'"?'.'>';
}
@@ -260,7 +268,7 @@ class class_xml
xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE , 0);
xml_parse_into_struct($parser, $xml, $vals);
xml_parser_free($parser);
$this->xml_array = $this->_xml_get_children($vals, $i);
}
@@ -865,7 +873,7 @@ class xml_lite_parse
function my_cdata_element( &$parser_obj, $data )
{
$this->my_data_element( &$parser_obj, $data );
$this->my_data_element( $parser_obj, $data );
}
/*-------------------------------------------------------------------------*/
@@ -937,7 +945,7 @@ class xml_extract
// Strip off header, DOC TYPE, etc
//-----------------------------------------
$xml = preg_replace( "#^(?:.+?)?(<.*>)(?:.+?)?$#s", "\\1", $xml );
$xml = preg_replace( "#^(?:.*?)?(<.*>)(?:.*?)?$#s", "\\1", $xml );
$xml_strlen = strlen( $xml );