Vergleich archive/global.php - 1.2.2 - 1.2.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright © 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright © 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: global.php 2180 2006-09-02 07:36:22Z chris $

 * $Id: global.php 3167 2007-06-28 05:34:18Z chris $

 */

// If archive mode deos not work, uncomment the line below and try again

 */

// If archive mode deos not work, uncomment the line below and try again

Zeile 50Zeile 50
// Otherwise, we're using 100% friendly URLs
else
{

// Otherwise, we're using 100% friendly URLs
else
{

	if($_SERVER['REDIRECT_URL'])





	if($_SERVER['REQUEST_URI'])
{
$url = $_SERVER['REQUEST_URI'];
}
elseif($_SERVER['REDIRECT_URL'])

	{
$url = $_SERVER['REDIRECT_URL'];
}

	{
$url = $_SERVER['REDIRECT_URL'];
}

Zeile 160Zeile 164
$navbits[0]['url'] = $mybb->settings['bburl']."/archive/index.php";

// Check banned ip addresses

$navbits[0]['url'] = $mybb->settings['bburl']."/archive/index.php";

// Check banned ip addresses

$bannedips = explode(" ", $mybb->settings['bannedips']);
if(is_array($bannedips))

if(is_banned_ip($session->ipaddress))


{

{

	foreach($bannedips as $key => $bannedip)
{
$bannedip = trim($bannedip);
if($bannedip != "")
{
if(strstr($session->ipaddress, $bannedip))
{
archive_error($lang->error_banned);
}
}
}

	archive_error($lang->error_banned);











}

// If our board is closed..

}

// If our board is closed..

Zeile 183Zeile 176
	{
$lang->error_boardclosed .= "<blockquote>".$mybb->settings['boardclosed_reason']."</blockquote>";
archive_error($lang->error_boardclosed);

	{
$lang->error_boardclosed .= "<blockquote>".$mybb->settings['boardclosed_reason']."</blockquote>";
archive_error($lang->error_boardclosed);

	}
}


	}
}


// Load Limiting
if(strtolower(substr(PHP_OS, 0, 3)) !== 'win')
{

// Load Limiting
if(strtolower(substr(PHP_OS, 0, 3)) !== 'win')
{

Zeile 204Zeile 197
{
archive_error_no_permission();
}

{
archive_error_no_permission();
}

 


?>

?>