51 lines
1.2 KiB
PHP
51 lines
1.2 KiB
PHP
<?php
|
|
|
|
/**
|
|
* <pre>
|
|
* Invision Power Services
|
|
* IP.Board v3.2.3
|
|
* Remote API integration gateway file
|
|
* Last Updated: $Date: 2011-03-11 12:41:48 -0500 (Fri, 11 Mar 2011) $
|
|
* </pre>
|
|
*
|
|
* @author $Author: ips_terabyte $
|
|
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
|
* @license This is NULLED!
|
|
* @package IP.Board
|
|
* @link http://hatynka.in
|
|
* @version $Rev: 8042 $
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* Script type
|
|
*
|
|
*/
|
|
define( 'IPB_THIS_SCRIPT', 'api' );
|
|
define( 'IPB_LOAD_SQL' , 'queries' );
|
|
define( 'IPS_PUBLIC_SCRIPT', 'index.php' );
|
|
|
|
require_once( '../../initdata.php' );/*noLibHook*/
|
|
|
|
//-----------------------------------------
|
|
// Main code
|
|
//-----------------------------------------
|
|
|
|
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );/*noLibHook*/
|
|
require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );/*noLibHook*/
|
|
|
|
$_GET['app'] = 'core';
|
|
$_REQUEST['app'] = 'core';
|
|
$_GET['module'] = 'global';
|
|
$_GET['section'] = 'login';
|
|
$_GET['do'] = 'process';
|
|
|
|
//-----------------------------------------
|
|
// Ignore auth key for live requests
|
|
//-----------------------------------------
|
|
|
|
define( 'IGNORE_AUTH_KEY', true );
|
|
|
|
ipsController::run();
|
|
|
|
exit(); |