"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/inc/class_core.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

class_core.php  (mybb_1822):class_core.php  (mybb_1823)
skipping to change at line 17 skipping to change at line 17
* License: http://www.mybb.com/about/license * License: http://www.mybb.com/about/license
* *
*/ */
class MyBB { class MyBB {
/** /**
* The friendly version number of MyBB we're running. * The friendly version number of MyBB we're running.
* *
* @var string * @var string
*/ */
public $version = "1.8.22"; public $version = "1.8.23";
/** /**
* The version code of MyBB we're running. * The version code of MyBB we're running.
* *
* @var integer * @var integer
*/ */
public $version_code = 1822; public $version_code = 1823;
/** /**
* The current working directory. * The current working directory.
* *
* @var string * @var string
*/ */
public $cwd = "."; public $cwd = ".";
/** /**
* Input variables received from the outer world. * Input variables received from the outer world.
skipping to change at line 564 skipping to change at line 564
$error_code = MYBB_NOT_UPGRADED; $error_code = MYBB_NOT_UPGRADED;
break; break;
case "sql_load_error": case "sql_load_error":
$message = "MyBB was unable to load the SQL exten sion. Please contact the MyBB Group for support. <a href=\"https://mybb.com\">My BB Website</a>"; $message = "MyBB was unable to load the SQL exten sion. Please contact the MyBB Group for support. <a href=\"https://mybb.com\">My BB Website</a>";
$error_code = MYBB_SQL_LOAD_ERROR; $error_code = MYBB_SQL_LOAD_ERROR;
break; break;
case "apc_load_error": case "apc_load_error":
$message = "APC needs to be configured with PHP t o use the APC cache support."; $message = "APC needs to be configured with PHP t o use the APC cache support.";
$error_code = MYBB_CACHEHANDLER_LOAD_ERROR; $error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break; 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": case "eaccelerator_load_error":
$message = "eAccelerator needs to be configured w ith PHP to use the eAccelerator cache support."; $message = "eAccelerator needs to be configured w ith PHP to use the eAccelerator cache support.";
$error_code = MYBB_CACHEHANDLER_LOAD_ERROR; $error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break; break;
case "memcache_load_error": case "memcache_load_error":
$message = "Your server does not have memcache su pport enabled."; $message = "Your server does not have memcache su pport enabled.";
$error_code = MYBB_CACHEHANDLER_LOAD_ERROR; $error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break; break;
case "memcached_load_error": case "memcached_load_error":
$message = "Your server does not have memcached s upport enabled."; $message = "Your server does not have memcached s upport enabled.";
$error_code = MYBB_CACHEHANDLER_LOAD_ERROR; $error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break; break;
case "xcache_load_error": case "xcache_load_error":
$message = "Xcache needs to be configured with PH P to use the Xcache cache support."; $message = "Xcache needs to be configured with PH P to use the Xcache cache support.";
$error_code = MYBB_CACHEHANDLER_LOAD_ERROR; $error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break; break;
case "redis_load_error":
$message = "Your server does not have redis suppo
rt enabled.";
$error_code = MYBB_CACHEHANDLER_LOAD_ERROR;
break;
default: default:
$message = "MyBB has experienced an internal erro r. Please contact the MyBB Group for support. <a href=\"https://mybb.com\">MyBB Website</a>"; $message = "MyBB has experienced an internal erro r. 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);
} }
function __destruct() function __destruct()
{ {
// Run shutdown function // Run shutdown function
 End of changes. 4 change blocks. 
2 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)