Vergleich inc/class_core.php - 1.8.5 - 1.8.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 14Zeile 14
	 *
* @var string
*/

	 *
* @var string
*/

	public $version = "1.8.5";

	public $version = "1.8.6";


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


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

	public $version_code = 1805;

	public $version_code = 1806;


/**
* The current working directory.


/**
* The current working directory.

Zeile 68Zeile 68
	/**
* Whether or not magic quotes are enabled.
*

	/**
* Whether or not magic quotes are enabled.
*

	 * @var unknown_type

	 * @var int

	 */
public $magicquotes = 0;


	 */
public $magicquotes = 0;


Zeile 89Zeile 89
	/**
* The request method that called this page.
*

	/**
* The request method that called this page.
*

	 * @var string.

	 * @var string

	 */
public $request_method = "";


	 */
public $request_method = "";


Zeile 139Zeile 139

/**
* Using built in shutdown functionality provided by register_shutdown_function for < PHP 5?


/**
* Using built in shutdown functionality provided by register_shutdown_function for < PHP 5?

 
	 *
* @var bool

	 */
public $use_shutdown = true;

	 */
public $use_shutdown = true;


/**


/**

	 * Debug mode?

	 * Debug mode?

 
	 *
* @var bool

	 */
public $debug_mode = false;

/**
* Binary database fields need to be handled differently

	 */
public $debug_mode = false;

/**
* Binary database fields need to be handled differently

 
	 *
* @var array

	 */
public $binary_fields = array(
'adminlog' => array('ipaddress' => true),

	 */
public $binary_fields = array(
'adminlog' => array('ipaddress' => true),

Zeile 179Zeile 185
	public $asset_url = null;
/**
* String input constant for use with get_input().

	public $asset_url = null;
/**
* String input constant for use with get_input().

	 *
* @see get_input

	 *
* @see get_input

	 */
const INPUT_STRING = 0;
/**
* Integer input constant for use with get_input().

	 */
const INPUT_STRING = 0;
/**
* Integer input constant for use with get_input().

	 *
* @see get_input

	 *
* @see get_input

	 */
const INPUT_INT = 1;
/**

	 */
const INPUT_INT = 1;
/**

Zeile 195Zeile 201
	 * @see get_input
*/
const INPUT_ARRAY = 2;

	 * @see get_input
*/
const INPUT_ARRAY = 2;

	/**

	/**

	 * Float input constant for use with get_input().

	 * Float input constant for use with get_input().

	 *
* @see get_input
*/

	 *
* @see get_input
*/

	const INPUT_FLOAT = 3;

	const INPUT_FLOAT = 3;

	/**

	/**

	 * Boolean input constant for use with get_input().
*
* @see get_input

	 * Boolean input constant for use with get_input().
*
* @see get_input

Zeile 210Zeile 216

/**
* Constructor of class.


/**
* Constructor of class.

	 *
* @return MyBB

 
	 */
function __construct()
{

	 */
function __construct()
{

Zeile 308Zeile 312
	/**
* Parses the incoming variables.
*

	/**
* Parses the incoming variables.
*

	 * @param array The array of incoming variables.

	 * @param array $array The array of incoming variables.

	 */
function parse_incoming($array)
{

	 */
function parse_incoming($array)
{

Zeile 360Zeile 364
	/**
* Strips slashes out of a given array.
*

	/**
* Strips slashes out of a given array.
*

	 * @param array The array to strip.

	 * @param array $array The array to strip.

	 */
function strip_slashes_array(&$array)
{

	 */
function strip_slashes_array(&$array)
{

Zeile 380Zeile 384
	/**
* Unsets globals from a specific array.
*

	/**
* Unsets globals from a specific array.
*

	 * @param array The array to unset from.

	 * @param array $array The array to unset from.

	 */
function unset_globals($array)
{

	 */
function unset_globals($array)
{

Zeile 438Zeile 442
	 * @param string $name Variable name ($mybb->input)
* @param int $type The type of the variable to get. Should be one of MyBB::INPUT_INT, MyBB::INPUT_ARRAY or MyBB::INPUT_STRING.
*

	 * @param string $name Variable name ($mybb->input)
* @param int $type The type of the variable to get. Should be one of MyBB::INPUT_INT, MyBB::INPUT_ARRAY or MyBB::INPUT_STRING.
*

	 * @return mixed Checked data

	 * @return int|float|array|string Checked data. Type depending on $type

	 */
function get_input($name, $type = MyBB::INPUT_STRING)
{

	 */
function get_input($name, $type = MyBB::INPUT_STRING)
{

Zeile 524Zeile 528
	/**
* Triggers a generic error.
*

	/**
* Triggers a generic error.
*

	 * @param string The error code.

	 * @param string $code The error code.

	 */
function trigger_generic_error($code)
{

	 */
function trigger_generic_error($code)
{