Version 3.2.3

This commit is contained in:
Neo committed 2025-12-19 00:34:03 -08:00
1 parent ae5c01cc78
commit 78706903a2
2641 files changed
+228363 -201264

No files matched your search

@@ -2,17 +2,17 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* IP.Board v3.2.3
* Installer: Index file
* Last Updated: $LastChangedDate: 2010-09-15 17:14:23 -0400 (Wed, 15 Sep 2010) $
* Last Updated: $LastChangedDate: 2011-05-05 07:03:47 -0400 (Thu, 05 May 2011) $
* </pre>
*
* @author $Author: terabyte $
* @author $Author: ips_terabyte $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @license This is NULLED!
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 6881 $
* @link http://hatynka.in
* @version $Rev: 8644 $
*
*/
@@ -24,7 +24,7 @@ class install_index extends ipsCommand
*
* @access public
* @param object Registry object
* @return void
* @return @e void
*/
public function doExecute( ipsRegistry $registry )
{
@@ -36,7 +36,7 @@ class install_index extends ipsCommand
/* Test Extensions */
$INSTALLDATA = array();
include( IPS_ROOT_PATH . 'setup/xml/requiredextensions.php' );
include( IPS_ROOT_PATH . 'setup/xml/requiredextensions.php' );/*noLibHook*/
if ( is_array( $INSTALLDATA ) && count( $INSTALLDATA ) )
{
@@ -69,7 +69,7 @@ class install_index extends ipsCommand
}
/* Check for conf_global.dist.php */
if ( file_exists( DOC_IPS_ROOT_PATH . 'conf_global.dist.php') AND ! file_exists( DOC_IPS_ROOT_PATH.'conf_global.php') )
if ( is_file( DOC_IPS_ROOT_PATH . 'conf_global.dist.php') AND ! is_file( DOC_IPS_ROOT_PATH.'conf_global.php') )
{
if ( ! @rename( DOC_IPS_ROOT_PATH.'conf_global.dist.php', DOC_IPS_ROOT_PATH.'conf_global.php' ) )
{
@@ -85,7 +85,7 @@ class install_index extends ipsCommand
$filesOK = FALSE;
/* Fetch core writeable files */
require_once( IPS_KERNEL_PATH . 'classXML.php' );
require_once( IPS_KERNEL_PATH . 'classXML.php' );/*noLibHook*/
$xml = new classXML( IPSSetUp::charSet );
try
@@ -104,7 +104,7 @@ class install_index extends ipsCommand
{
if ( $data['dir'] )
{
if ( ! @mkdir( $_path, 0777, TRUE ) )
if ( ! @mkdir( $_path, IPS_FOLDER_PERMISSION, TRUE ) )
{
$this->registry->output->addError( 'Директория "' . $data['path'] . '" не существует, создайте ее' );
}
@@ -117,7 +117,7 @@ class install_index extends ipsCommand
if ( ! is_writeable( $_path ) )
{
if ( ! @chmod( $_path, 0777 ) )
if ( ! @chmod( $_path, is_dir( $_path ) ? IPS_FOLDER_PERMISSION : IPS_FILE_PERMISSION ) )
{
if ( is_dir( $_path ) )
{
@@ -156,4 +156,4 @@ class install_index extends ipsCommand
$this->registry->output->addContent( $this->registry->output->template()->page_requirements( $filesOK, $extensionsOK, $extensionData ) );
$this->registry->output->sendOutput();
}
}
}