Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: class_core.php 5115 2010-07-26 02:20:41Z RyanGordon $
| * $Id: class_core.php 5495 2011-07-12 15:39:08Z Tomm $
|
*/
class MyBB {
| */
class MyBB {
|
Zeile 15 | Zeile 15 |
---|
* * @var string */
|
* * @var string */
|
public $version = "1.6.0";
| public $version = "1.6.4";
|
/** * The version code of MyBB we're running. * * @var integer */
|
/** * The version code of MyBB we're running. * * @var integer */
|
public $version_code = 1600;
| public $version_code = 1604;
|
/** * The current working directory.
| /** * The current working directory.
|
Zeile 155 | Zeile 155 |
---|
// Determine Magic Quotes Status (< PHP 6.0) if(version_compare(PHP_VERSION, '6.0', '<')) {
|
// Determine Magic Quotes Status (< PHP 6.0) if(version_compare(PHP_VERSION, '6.0', '<')) {
|
if(get_magic_quotes_gpc())
| if(@get_magic_quotes_gpc())
|
{ $this->magicquotes = 1; $this->strip_slashes_array($_POST); $this->strip_slashes_array($_GET); $this->strip_slashes_array($_COOKIE); }
|
{ $this->magicquotes = 1; $this->strip_slashes_array($_POST); $this->strip_slashes_array($_GET); $this->strip_slashes_array($_COOKIE); }
|
set_magic_quotes_runtime(0);
| @set_magic_quotes_runtime(0);
|
@ini_set("magic_quotes_gpc", 0); @ini_set("magic_quotes_runtime", 0); }
| @ini_set("magic_quotes_gpc", 0); @ini_set("magic_quotes_runtime", 0); }
|