45 lines
1.1 KiB
PHP
45 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* <pre>
|
|
* Invision Power Services
|
|
* IP.Board v3.1.4
|
|
* Remote API integration gateway file
|
|
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
|
|
* </pre>
|
|
*
|
|
* @author $Author: bfarber $
|
|
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
|
* @license http://www.invisionpower.com/community/board/license.html
|
|
* @package IP.Board
|
|
* @link http://www.invisionpower.com
|
|
* @version $Rev: 5713 $
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* Script type
|
|
*
|
|
*/
|
|
define( 'IPB_THIS_SCRIPT', 'api' );
|
|
define( 'IPB_LOAD_SQL' , 'queries' );
|
|
define( 'IPS_PUBLIC_SCRIPT', 'index.php' );
|
|
|
|
require_once( '../../initdata.php' );
|
|
|
|
//===========================================================================
|
|
// MAIN PROGRAM
|
|
//===========================================================================
|
|
|
|
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );
|
|
require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );
|
|
|
|
$_GET['app'] = 'core';
|
|
$_REQUEST['app'] = 'core';
|
|
$_GET['module'] = 'global';
|
|
$_GET['section'] = 'login';
|
|
$_GET['do'] = 'process';
|
|
|
|
ipsController::run();
|
|
|
|
exit(); |