Version 3.1.4

This commit is contained in:
Neo committed 2025-12-19 00:32:22 -08:00
1 parent 1d4720f3e2
commit ae5c01cc78
2563 files changed
+283048 -240689

No files matched your search

+19 -8
View File
@@ -1,24 +1,28 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* Redirect old lofi search results to the new IP.Board 3 urls
* Last Updated: $Date: 2009-02-04 15:03:36 -0500 (Wed, 04 Feb 2009) $
* Last Updated: $Date: 2010-08-17 11:38:47 -0400 (Tue, 17 Aug 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @link http://www.iinvisionpower.com
* @version $Rev: 3887 $
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 6763 $
*
*/
define( 'IPS_PUBLIC_SCRIPT', 'index.php' );
define( 'LOFIVERSION_CALLED', true );
require_once( '../initdata.php' );
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );
require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );
/* INIT Registry */
$reg = ipsRegistry::instance();
@@ -66,8 +70,15 @@ else if ( strstr( $justKeepMe, 'f' ) AND is_numeric( substr( $justKeepMe, 1 ) )
}
/* GO GADGET GO */
header("HTTP/1.0 301 Moved Permanently");
header("HTTP/1.1 301 Moved Permanently");
if ( isset( $_SERVER['SERVER_PROTOCOL'] ) AND strstr( $_SERVER['SERVER_PROTOCOL'], '/1.0' ) )
{
header("HTTP/1.0 301 Moved Permanently");
}
else
{
header("HTTP/1.1 301 Moved Permanently");
}
header("Location: " . $reg->output->formatUrl( $reg->output->buildUrl( $link, 'public' ) ) );
exit();