Vergleich inc/class_core.php - 1.8.6 - 1.8.30

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

	 *
* @var string
*/

	public $version = "1.8.6";

	public $version = "1.8.30";


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


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

	public $version_code = 1806;

	public $version_code = 1830;


/**
* The current working directory.


/**
* The current working directory.

Zeile 161Zeile 161
		'adminsessions' => array('ip' => true),
'maillogs' => array('ipaddress' => true),
'moderatorlog' => array('ipaddress' => true),

		'adminsessions' => array('ip' => true),
'maillogs' => array('ipaddress' => true),
'moderatorlog' => array('ipaddress' => true),

 
		'pollvotes' => array('ipaddress' => true),

		'posts' => array('ipaddress' => true),
'privatemessages' => array('ipaddress' => true),
'searchlog' => array('ipaddress' => true),

		'posts' => array('ipaddress' => true),
'privatemessages' => array('ipaddress' => true),
'searchlog' => array('ipaddress' => true),

Zeile 348Zeile 349

// Fixes conflicts with one board having a prefix and another that doesn't on the same domain
// Gives priority to our cookies over others (overwrites them)


// Fixes conflicts with one board having a prefix and another that doesn't on the same domain
// Gives priority to our cookies over others (overwrites them)

				if($this->cookies[$key])

				if(isset($this->cookies[$key]))

				{
unset($this->cookies[$key]);
}

				{
unset($this->cookies[$key]);
}

Zeile 553Zeile 554
				$error_code = MYBB_NOT_UPGRADED;
break;
case "sql_load_error":

				$error_code = MYBB_NOT_UPGRADED;
break;
case "sql_load_error":

				$message = "MyBB was unable to load the SQL extension. Please contact the MyBB Group for support. <a href=\"http://www.mybb.com\">MyBB Website</a>";

				$message = "MyBB was unable to load the SQL extension. Please contact the MyBB Group for support. <a href=\"https://mybb.com\">MyBB Website</a>";

				$error_code = MYBB_SQL_LOAD_ERROR;
break;
case "apc_load_error":
$message = "APC needs to be configured with PHP to use the APC cache support.";

				$error_code = MYBB_SQL_LOAD_ERROR;
break;
case "apc_load_error":
$message = "APC needs to be configured with PHP to use the APC cache support.";

 
				$error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break;
case "apcu_load_error":
$message = "APCu needs to be configured with PHP to use the APCu cache support.";

				$error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break;
case "eaccelerator_load_error":

				$error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break;
case "eaccelerator_load_error":

Zeile 574Zeile 579
				break;
case "xcache_load_error":
$message = "Xcache needs to be configured with PHP to use the Xcache cache support.";

				break;
case "xcache_load_error":
$message = "Xcache needs to be configured with PHP to use the Xcache cache support.";

 
				$error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break;
case "redis_load_error":
$message = "Your server does not have redis support enabled.";

				$error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break;
default:

				$error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break;
default:

				$message = "MyBB has experienced an internal error. Please contact the MyBB Group for support. <a href=\"http://www.mybb.com\">MyBB Website</a>";

				$message = "MyBB has experienced an internal error. Please contact the MyBB Group for support. <a href=\"https://mybb.com\">MyBB Website</a>";

				$error_code = MYBB_GENERAL;

				$error_code = MYBB_GENERAL;

		}

		}

		$error_handler->trigger($message, $error_code);
}


		$error_handler->trigger($message, $error_code);
}


Zeile 598Zeile 607
 */

$grouppermignore = array("gid", "type", "title", "description", "namestyle", "usertitle", "stars", "starimage", "image");

 */

$grouppermignore = array("gid", "type", "title", "description", "namestyle", "usertitle", "stars", "starimage", "image");

$groupzerogreater = array("pmquota", "maxpmrecipients", "maxreputationsday", "attachquota", "maxemails", "maxwarningsday", "maxposts", "edittimelimit", "canusesigxposts", "maxreputationsperthread", "emailfloodtime");



































$groupzerogreater = array(
'maxposts',
'attachquota',
'edittimelimit',
'maxreputationsperthread',
'maxreputationsperuser',
'maxreputationsday',
'maxwarningsday',
'pmquota',
'maxpmrecipients',
'maxemails',
);
$groupzerolesser = array(
'canusesigxposts',
'emailfloodtime',
);
$groupxgreater = array(
'reputationpower' => 0,
);
$grouppermbyswitch = array(
'maxposts' => array('canpostthreads', 'canpostreplys'),
'attachquota' => 'canpostattachments',
'edittimelimit' => 'caneditposts',
'canusesigxposts' => 'canusesig',
'reputationpower' => 'cangivereputations',
'maxreputationsperthread' => 'cangivereputations',
'maxreputationsperuser' => 'cangivereputations',
'maxreputationsday' => 'cangivereputations',
'maxwarningsday' => 'canwarnusers',
'pmquota' => 'canusepms',
'maxpmrecipients' => 'canusepms',
'maxemails' => 'cansendemail',
'emailfloodtime' => 'cansendemail',
);


$displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image");

// These are fields in the usergroups table that are also forum permission specific.

$displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image");

// These are fields in the usergroups table that are also forum permission specific.

Zeile 614Zeile 657
	'candeleteposts',
'candeletethreads',
'caneditattachments',

	'candeleteposts',
'candeletethreads',
'caneditattachments',

 
	'canviewdeletionnotice',

	'modposts',
'modthreads',
'modattachments',

	'modposts',
'modthreads',
'modattachments',