Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
+10
-6
@@ -8,11 +8,15 @@
|
||||
* @since 20 May 2014
|
||||
*/
|
||||
|
||||
\define('READ_WRITE_SEPARATION', FALSE);
|
||||
\define('REPORT_EXCEPTIONS', TRUE);
|
||||
use IPS\Dispatcher\Setup;
|
||||
use const IPS\NO_WRITES;
|
||||
use const IPS\QUERY_LOG;
|
||||
|
||||
define('READ_WRITE_SEPARATION', FALSE);
|
||||
define('REPORT_EXCEPTIONS', TRUE);
|
||||
|
||||
/* Prevent hooks from running during the upgrade */
|
||||
\define('RECOVERY_MODE', TRUE);
|
||||
define('RECOVERY_MODE', TRUE);
|
||||
|
||||
require_once '../../init.php';
|
||||
|
||||
@@ -21,14 +25,14 @@ if( \IPS\IN_DEV )
|
||||
die( "You must disable developer mode (IN_DEV) in order to run the upgrader" );
|
||||
}
|
||||
|
||||
if( \IPS\NO_WRITES )
|
||||
if( NO_WRITES )
|
||||
{
|
||||
die( "You must disable no-writes mode (NO_WRITES) in order to run the upgrader" );
|
||||
}
|
||||
|
||||
if( \IPS\QUERY_LOG )
|
||||
if( QUERY_LOG )
|
||||
{
|
||||
die( "You must disable the query log (QUERY_LOG) in order to run the upgrader" );
|
||||
}
|
||||
|
||||
\IPS\Dispatcher\Setup::i()->setLocation('upgrade')->run();
|
||||
Setup::i()->setLocation('upgrade')->run();
|
||||
Reference in new issue
Block a user