Vergleich inc/class_core.php - 1.4.1 - 1.4.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: class_core.php 4084 2008-08-08 02:13:06Z Tikitiki $

 * $Id: class_core.php 4386 2009-06-25 07:30:06Z RyanGordon $

 */

class MyBB {

 */

class MyBB {

Zeile 15Zeile 15
	 *
* @var string
*/

	 *
* @var string
*/

	var $version = "1.4.1";

	var $version = "1.4.9";

	
/**
* The version code of MyBB we're running.
*
* @var integer
*/

	
/**
* The version code of MyBB we're running.
*
* @var integer
*/

	var $version_code = 1401;

	var $version_code = 1409;

	
/**
* The current working directory.

	
/**
* The current working directory.

Zeile 134Zeile 134
		$protected = array("_GET", "_POST", "_SERVER", "_COOKIE", "_FILES", "_SERVER", "_ENV", "GLOBALS");
foreach($protected as $var)
{

		$protected = array("_GET", "_POST", "_SERVER", "_COOKIE", "_FILES", "_SERVER", "_ENV", "GLOBALS");
foreach($protected as $var)
{

			if(isset($_REQUEST[$var]) || isset($_FILES[$var]) || isset($_COOKIE[$var]))

			if(isset($_REQUEST[$var]) || isset($_FILES[$var]))

			{
die("Hacking attempt");
}

			{
die("Hacking attempt");
}

Zeile 199Zeile 199
		}

// Old version of PHP, need to register_shutdown_function

		}

// Old version of PHP, need to register_shutdown_function

		if(phpversion() < '5.0.5')
{
$this->use_shutdown = true;
register_shutdown_function(array(&$this, "__destruct"));
}

		$this->use_shutdown = true;
register_shutdown_function(array(&$this, "__destruct"));





if(isset($this->input['action']) && $this->input['action'] == "mybb_logo")
{


if(isset($this->input['action']) && $this->input['action'] == "mybb_logo")
{