Version 3.4.5
This commit is contained in:
1 parent
fb6b5baabc
commit
e4478369d8
1360 files changed
+228921
-179445
No files matched your search
@@ -2,17 +2,17 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* IP.Board v3.4.5
|
||||
* Installer CLI Script
|
||||
* Last Updated: $LastChangedDate: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* Last Updated: $LastChangedDate: 2012-11-14 07:43:29 -0500 (Wed, 14 Nov 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @author $Author: mark $
|
||||
* @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: 10914 $
|
||||
* @version $Rev: 11601 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -27,11 +27,13 @@
|
||||
|
||||
if ( !isset( $_SERVER['argv'] ) )
|
||||
{
|
||||
echo "NOARG";
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( is_file( "../../../cache/installer_lock.php" ) )
|
||||
if ( is_file($_SERVER['argv'][2] . "/cache/installer_lock.php" ) )
|
||||
{
|
||||
echo "LOCKED";
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -39,15 +41,15 @@ if ( is_file( "../../../cache/installer_lock.php" ) )
|
||||
// Init
|
||||
//-----------------------------------------
|
||||
|
||||
error_reporting( ~E_NOTICE );
|
||||
//error_reporting( ~E_NOTICE );
|
||||
|
||||
date_default_timezone_set( 'UTC' );
|
||||
|
||||
function my_getenv( $k ) { return $_SERVER[ $k ]; }
|
||||
|
||||
define( 'IPS_ROOT_PATH', "../../" );
|
||||
define( 'DOC_IPS_ROOT_PATH', "../../../" );
|
||||
define( 'IPS_KERNEL_PATH', "../../../ips_kernel/" );
|
||||
define( 'IPS_ROOT_PATH', $_SERVER['argv'][2] . '/admin/' );
|
||||
define( 'DOC_IPS_ROOT_PATH', $_SERVER['argv'][2] . '/' );
|
||||
define( 'IPS_KERNEL_PATH', $_SERVER['argv'][2] . '/ips_kernel/' );
|
||||
define( 'IPB_VERSION', 0 );
|
||||
define( 'IPB_LONG_VERSION', 0 );
|
||||
define( 'IPS_IS_UPGRADER', FALSE );
|
||||
|
||||
Reference in new issue
Block a user