Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -22,6 +22,8 @@ if ( !isset( $_SERVER['argv'] ) )
|
||||
}
|
||||
|
||||
/* Init Invision Community */
|
||||
define('READ_WRITE_SEPARATION', FALSE);
|
||||
define('REPORT_EXCEPTIONS', TRUE);
|
||||
require_once str_replace( 'applications/core/interface/task/task.php', 'init.php', str_replace( '\\', '/', __FILE__ ) );
|
||||
|
||||
/* Check key */
|
||||
@@ -44,7 +46,7 @@ try
|
||||
|
||||
if( isset( $_SERVER['argv'][2] ) )
|
||||
{
|
||||
$task = \IPS\Task::load( $_SERVER['argv'][2] );
|
||||
$task = \IPS\Task::load( $_SERVER['argv'][2], ( is_numeric( $_SERVER['argv'][2] ) ) ? NULL : 'key' );
|
||||
|
||||
if ( !$task )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user