// Assert compatibility fix for PHP 8.1 with disabled assertions
if (!function_exists('assert')) {
function assert($assertion, $description = null) {
return true;
}
}
########## Error-Catching ##########
# Note: You shouldn't touch these settings.
if (file_exists((isset($cachedir) ? $cachedir : dirname(__FILE__)) . '/db_last_error.php'))
include((isset($cachedir) ? $cachedir : dirname(__FILE__)) . '/db_last_error.php');
if (!isset($db_last_error))
{
// File does not exist so lets try to create it
file_put_contents((isset($cachedir) ? $cachedir : dirname(__FILE__)) . '/db_last_error.php', '<' . '?' . "php\n" . '$db_last_error = 0;' . "\n" . '?' . '>');
$db_last_error = 0;
}
?>SMF file version (2.1.6) does not match SMF database version (2.1.7).
Run the SMF upgrader to fix this.
More information.