query('INSERT INTO '.$db->prefix."config (conf_name, conf_value) VALUES('o_usespamcode', '1')") or error('Unable to insert into table '.$db->prefix.'config. Please check your configuration and try again. Go back.'); $db->query('INSERT INTO '.$db->prefix."config (conf_name, conf_value) VALUES('o_spamhint', 'Wouldn't the answer be 5?')") or error('Unable to insert into table '.$db->prefix.'config. Please check your configuration and try again. Go back.'); $db->query('INSERT INTO '.$db->prefix."config (conf_name, conf_value) VALUES('o_spamquestion', 'What is 2+3?')") or error('Unable to insert into table '.$db->prefix.'config. Please check your configuration and try again. Go back.'); $db->query('INSERT INTO '.$db->prefix."config (conf_name, conf_value) VALUES('o_spamcode', '5')") or error('Unable to insert into table '.$db->prefix.'config. Please check your configuration and try again. Go back.'); } /***********************************************************************/ // DO NOT EDIT ANYTHING BELOW THIS LINE! // Circumvent maintenance mode define('PUN_TURN_OFF_MAINT', 1); define('PUN_ROOT', './'); require PUN_ROOT.'include/common.php'; // We want the complete error message if the script fails if (!defined('PUN_DEBUG')) define('PUN_DEBUG', 1); // Make sure we are running a PunBB version that this mod works with $version_warning = false; if(!in_array($pun_config['o_cur_version'], $punbb_versions)) { foreach ($punbb_versions as $temp) { if (substr($temp, 0, 3) == substr($pun_config['o_cur_version'], 0, 3)) { $version_warning = true; break; } } if (!$version_warning) exit('You are running a version of PunBB ('.$pun_config['o_cur_version'].') that this mod does not support. This mod supports PunBB versions: '.implode(', ', $punbb_versions)); } $style = (isset($cur_user)) ? $cur_user['style'] : $pun_config['o_default_style']; ?>
Your database has been successfully prepared for . See readme.txt for further instructions.
Your database has been successfully restored.