Version 3.2.3

This commit is contained in:
Neo committed 2025-12-19 00:34:03 -08:00
1 parent ae5c01cc78
commit 78706903a2
2641 files changed
+228363 -201264

No files matched your search

+14 -14
View File
@@ -2,33 +2,33 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* IP.Board v3.2.3
* Main public executable wrapper.
* Set-up and load module to run
* Last Updated: $Date: 2010-06-25 06:36:57 -0400 (Fri, 25 Jun 2010) $
* Last Updated: $Date: 2011-07-27 20:58:18 -0400 (Wed, 27 Jul 2011) $
* </pre>
*
* @author $Author: matt $
* @author $Author: bfarber $
* @copyright (c) 2001 - 2008 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @license This is NULLED!
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 6574 $
* @link http://hatynka.in
* @version $Rev: 9327 $
*
*/
define( 'IPS_ENFORCE_ACCESS', TRUE );
define( 'IPB_THIS_SCRIPT', 'public' );
require_once( '../../initdata.php' );
require_once( '../../initdata.php' );/*noLibHook*/
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );
require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );/*noLibHook*/
require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );/*noLibHook*/
$registry = ipsRegistry::instance();
$registry->init();
require_once( IPS_ROOT_PATH . 'sources/classes/facebook/connect.php' );
$facebook = new facebook_connect( $registry );
$classToLoad = IPSLib::loadLibrary( IPS_ROOT_PATH . 'sources/classes/facebook/connect.php', 'facebook_connect' );
$facebook = new $classToLoad( $registry );
/* IPB fiddles with CODE to make it DO */
if ( ! $_REQUEST['code'] AND $_REQUEST['do'] )
@@ -66,12 +66,12 @@ if ( $_REQUEST['code'] )
switch( $msg )
{
default:
$registry->getClass('output')->showError( 'fb_ohnoes', 999990, null, null, 403 );
$registry->getClass('output')->showError( 'fb_ohnoes', 1090091, null, null, 403 );
break;
case 'FACEBOOK_NOT_SET_UP':
$registry->getClass('output')->showError( 'fb_not_on', 999991, null, null, 403 );
$registry->getClass('output')->showError( 'fb_not_on', 1090092, null, null, 403 );
case 'NOT_REMOTE_MEMBER':
$registry->getClass('output')->showError( 'fb_not_remote', 999992, null, null, 403 );
$registry->getClass('output')->showError( 'fb_not_remote', 1090093, null, null, 403 );
break;
}
}