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

+34 -8
View File
@@ -1,7 +1,33 @@
<?php
/**
* Invision Power Board
* Invision Installer Framework
/*
+--------------------------------------------------------------------------
| Invision Power Board 2.2.2
| Invision Power Board INSTALLER
| ========================================
| by Matthew Mecham
| (c) 2001 - 2005 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 IS NOT FREE / OPEN SOURCE!
+---------------------------------------------------------------------------
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
+--------------------------------------------------------------------------
|
| > Script written by Matthew Mecham
| > Date started: 19th March 2004
| > Updated for 2.1: 23 June 2005
|
+--------------------------------------------------------------------------
*/
@set_time_limit(0);
@@ -58,20 +84,20 @@ $install->template->product_long_version = $install->product_long_version;
//--------------------------------
// Saved Data
//--------------------------------
$install->saved_data = unserialize( stripslashes( $_POST['saved_data'] ) );
$install->saved_data = unserialize( urldecode( stripslashes( $_POST['saved_data'] ) ) );
//--------------------------------
// Test lock
//--------------------------------
if ( $_REQUEST['p'] != 'done' )
if ( $ipsclass->input['p'] != 'done' )
{
$got_lock = $install->check_lock();
if ( $got_lock )
{
$install->template->hide_next = 1;
$install->template->warning( array( "This installer is locked. Via FTP please delete the file 'installfiles/lock.php' and then refresh this page." ) );
$install->template->warning( array( "Ñêðèïò óñòàíîâêè çàáëîêèðîâàí!<br><br>Åñëè âàì íåîáõîäèìî ïîâòîðèòü óñòàíîâêó, ïîæàëóéñòà, óäàëèòå ôàéë 'installfiles/lock.php' è îáíîâèòå ñòðàíèöó." ) );
$install->template->output( $install->product_name, $install->product_version );
exit();
@@ -87,8 +113,8 @@ if ( file_exists( INS_DOC_ROOT_PATH.'conf_global.php.dist') AND ! file_exists( I
if ( ! @rename( INS_DOC_ROOT_PATH.'conf_global.php.dist', INS_DOC_ROOT_PATH.'conf_global.php' ) )
{
$install->template->hide_next = 1;
$install->template->warning( array( "<strong>You MUST rename the file 'conf_global.<b style='color:red'>php.dist</b>' TO 'conf_global.<b style='color:red'>php</b>' before continuing.</strong>
This file can be found in the root forum directory on your FTP server, the same directory where 'admin.php' and 'index.php' are stored." ) );
$install->template->warning( array( "<strong>Äëÿ ïðîäîëæåíèÿ óñòàíîâêè âàì íåîáõîäèìî ïåðåèìåíîâàòü ôàéë 'conf_global.<b style='color:red'>php.dist</b>' â 'conf_global.<b style='color:red'>php</b>'.</strong>
Ýòîò ôàéë ìîæíî íàéòè â êîðíåâîé äèðåêòîðèè ôîðóìà, òàì æå ãäå íàõîäÿòñÿ 'admin.php' è 'index.php'." ) );
$install->template->output( $install->product_name, $install->product_version );
exit();
}