Version 3.4.8

This commit is contained in:
Neo committed 2025-12-19 00:42:42 -08:00
1 parent b45ea0dffb
commit c603205a25
1398 files changed
+36675 -31023

No files matched your search

+12 -4
View File
@@ -2,17 +2,17 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Installer CLI Script
* Last Updated: $LastChangedDate: 2012-11-14 07:43:29 -0500 (Wed, 14 Nov 2012) $
* Last Updated: $LastChangedDate: 2014-04-15 13:33:36 -0400 (Tue, 15 Apr 2014) $
* </pre>
*
* @author $Author: mark $
* @author $Author: AndyMillne $
* @copyright © 2011 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 11601 $
* @version $Rev: 12465 $
*
*/
@@ -21,6 +21,7 @@
* php install.php [APPS] [DIRECTORY] [URL] [LICENSE_KEY] [MYSQL_HOST] [MYSQL_DATABASE] [MYSQL_USER] [MYSQL_PASS] [ACP_USER] [ACP_PASS] [ACP_EMAIL]
*/
//-----------------------------------------
// Checks
//-----------------------------------------
@@ -31,6 +32,12 @@ if ( !isset( $_SERVER['argv'] ) )
exit;
}
if ( isset( $_SERVER['REQUEST_METHOD'] ) or substr( str_replace( '\\', '/', $_SERVER['argv'][0] ), -11 ) !== 'install.php' or strpos( $_SERVER['argv'][0], '?' ) !== FALSE )
{
echo "CLI Only\n";
exit;
}
if ( is_file($_SERVER['argv'][2] . "/cache/installer_lock.php" ) )
{
echo "LOCKED";
@@ -105,6 +112,7 @@ IPSInstall::writeConfiguration();
// Install
//-----------------------------------------
file_get_contents( "http://license.invisionpower.com/?a=activate&key={$_SERVER['argv'][4]}&url={$_SERVER['argv'][3]}" );
file_put_contents( "../../../cache/installer_lock.php", "AUTOINSTALLED" );
require_once( IPS_ROOT_PATH . 'setup/applications/install/sections/install.php' );/*noLibHook*/