Version 4.1.19

This commit is contained in:
Neo committed 2025-12-19 05:38:56 -08:00
1 parent 28bd025b35
commit 2bd5025018
2674 files changed
+233518 -77766

No files matched your search

@@ -2,9 +2,9 @@
/**
* @brief Installer: Finished Screen
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - SVN_YYYY Invision Power Services, Inc.
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Social Suite
* @package IPS Community Suite
* @since 2 Apr 2013
* @version SVN_VERSION_NUMBER
*/
@@ -37,11 +37,16 @@ class _done extends \IPS\Dispatcher\Controller
}
\IPS\Output::clearJsFiles();
/* Build default front navigation - if you visit ACP directly after it won't build, and you can run into issues */
\IPS\core\FrontNavigation::i()->buildDefaultFrontNavigation();
require \IPS\ROOT_PATH . '/conf_global.php';
\IPS\Db::i()->update( 'core_sys_conf_settings', array( 'conf_value' => $INFO['lkey'] ), array( 'conf_key=?', 'ipb_reg_number' ) );
\IPS\Settings::i()->ipb_reg_number = $INFO['lkey'];
\IPS\Db::i()->update( 'core_sys_conf_settings', array( 'conf_value' => md5( $INFO['sql_pass'] . $INFO['base_url'] . $INFO['sql_database'] ) ), array( 'conf_key=?', 'site_secret_key' ) );
\IPS\Settings::i()->ipb_reg_number = $INFO['lkey'];
\IPS\Settings::i()->site_secret_key = md5( $INFO['sql_pass'] . $INFO['base_url'] . $INFO['sql_database'] );
unset( \IPS\Data\Store::i()->settings );
\file_put_contents( \IPS\ROOT_PATH . '/conf_global.php', "<?php\n\n" . '$INFO = ' . var_export( array(
@@ -61,11 +66,10 @@ class _done extends \IPS\Dispatcher\Controller
'admin_group' => 4
), TRUE ) . ';' );
/* PHP 5.6 - clear opcode cache or details won't be seen on next page load */
if( function_exists('opcache_reset') )
/* PHP 5.5 - clear opcode cache or details won't be seen on next page load */
if ( function_exists( 'opcache_invalidate' ) )
{
/* Avoid throwing an exception Zend OPcache API is restricted by "restrict_api" configuration directive */
@opcache_reset();
@opcache_invalidate( \IPS\ROOT_PATH . '/conf_global.php' );
}
\IPS\Settings::i()->base_url = $INFO['base_url'];