Version 2.2.2
This commit is contained in:
1 parent
22f1b963ee
commit
a3bb603c96
858 files changed
+479463
-188140
No files matched your search
+38
-10
@@ -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 );
|
||||
@@ -38,6 +64,8 @@ $ipsclass->vars = $INFO;
|
||||
// Load the DB driver and such
|
||||
//--------------------------------
|
||||
|
||||
|
||||
|
||||
$ipsclass->init_db_connection();
|
||||
$ipsclass->DB->return_die = 1;
|
||||
$ipsclass->DB->obj['use_error_log'] = 0;
|
||||
@@ -67,6 +95,11 @@ $install = new application_installer();
|
||||
$install->ipsclass =& $ipsclass;
|
||||
$install->read_config();
|
||||
|
||||
if ( !isset($ipsclass->vars['mysql_codepage']) AND $cp = $install->get_db_codepage() )
|
||||
{
|
||||
$ipsclass->DB->obj['mysql_codepage'] = $cp;
|
||||
}
|
||||
|
||||
$install->template = new install_template( $ipsclass );
|
||||
$install->template->product_name = $install->product_name;
|
||||
$install->template->product_version = $install->product_version;
|
||||
@@ -75,12 +108,7 @@ $install->template->product_long_version = $install->product_long_version;
|
||||
//--------------------------------
|
||||
// Saved Data
|
||||
//--------------------------------
|
||||
$install->saved_data = unserialize( stripslashes( $_POST['saved_data'] ) );
|
||||
|
||||
if( $ipsclass->input['sub'] == "checkdb" AND !$install->saved_data )
|
||||
{
|
||||
$install->saved_data = unserialize( stripslashes( urldecode($_GET['saved_data']) ) );
|
||||
}
|
||||
$install->saved_data = unserialize( stripslashes( urldecode( $ipsclass->input['saved_data'] ) ) );
|
||||
|
||||
// -------------------------------
|
||||
// Run Install Step
|
||||
@@ -93,7 +121,7 @@ $install->post_process();
|
||||
// -------------------------------
|
||||
// Output
|
||||
// -------------------------------
|
||||
$install->template->saved_data = serialize( $install->saved_data );
|
||||
$install->template->saved_data = urlencode( serialize( $install->saved_data ) );
|
||||
$install->template->output( $install->product_name, $install->product_version );
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user