Version 3.4.8
This commit is contained in:
1 parent
b45ea0dffb
commit
c603205a25
1398 files changed
+36675
-31023
No files matched your search
@@ -3,31 +3,32 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Task Handler
|
||||
* Last Updated: $Date: 2013-05-13 20:42:41 -0400 (Mon, 13 May 2013) $
|
||||
* Last Updated: $Date: 2014-04-15 13:33:36 -0400 (Tue, 15 Apr 2014) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @author $Author: AndyMillne $
|
||||
* @copyright © 2011 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Core
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Revision: 12249 $
|
||||
* @version $Revision: 12465 $
|
||||
*/
|
||||
|
||||
//ini_set( 'display_errors', 'off' );
|
||||
|
||||
if ( !isset($_SERVER['argv'] ) )
|
||||
if ( isset( $_SERVER['REQUEST_METHOD'] ) or !isset($_SERVER['argv'] ) or substr( str_replace( '\\', '/', $_SERVER['argv'][0] ), -18 ) !== 'interface/task.php' or strpos( $_SERVER['argv'][0], '?' ) !== FALSE )
|
||||
{
|
||||
die;
|
||||
echo "CLI Only\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
define( 'IPS_ENFORCE_ACCESS', TRUE );
|
||||
define( 'IPS_IS_SHELL', TRUE );
|
||||
define( 'NO_SESSION_UPDATE', TRUE );
|
||||
require_once( str_replace( '/interface/task.php', '/initdata.php', $_SERVER['argv'][0] ) );/*noLibHook*/
|
||||
require_once( str_replace( '/interface/task.php', '/initdata.php', str_replace( '\\', '/', $_SERVER['argv'][0] ) ) );/*noLibHook*/
|
||||
|
||||
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );/*noLibHook*/
|
||||
require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );/*noLibHook*/
|
||||
|
||||
Reference in new issue
Block a user