Seditio Source
Root |
./othercms/ips_4.3.4/admin/upgrade/index.php
<?php
/**
 * @brief        Upgrader bootstrap
 * @author        <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
 * @copyright    (c) Invision Power Services, Inc.
 * @license        https://www.invisioncommunity.com/legal/standards/
 * @package        Invision Community
 * @since        20 May 2014
 */

define('READ_WRITE_SEPARATION', FALSE);
define('REPORT_EXCEPTIONS', TRUE);

/* Prevent hooks from running during the upgrade */
define('RECOVERY_MODE', TRUE);

require_once
'../../init.php';

if( \
IPS\IN_DEV )
{
    die(
"You must disable developer mode (IN_DEV) in order to run the upgrader" );
}

if( \
IPS\NO_WRITES )
{
    die(
"You must disable no-writes mode (NO_WRITES) in order to run the upgrader" );
}

if( \
IPS\QUERY_LOG )
{
    die(
"You must disable the query log (QUERY_LOG) in order to run the upgrader" );
}

\
IPS\Dispatcher\Setup::i()->setLocation('upgrade')->run();