query("INSERT INTO ".$db->prefix."config VALUES ('o_shop_donate', '1')", __FILE__, __LINE__, $db->error()); $db->query("INSERT INTO ".$db->prefix."config VALUES ('o_shop_title', '1')", __FILE__, __LINE__, $db->error()); $db->query("INSERT INTO ".$db->prefix."config VALUES ('o_shop_othertitle', '1')", __FILE__, __LINE__, $db->error()); $db->query("INSERT INTO ".$db->prefix."config VALUES ('o_shop_postcount15', '1')", __FILE__, __LINE__, $db->error()); $db->query("INSERT INTO ".$db->prefix."config VALUES ('o_shop_vip', '1')", __FILE__, __LINE__, $db->error()); } else { message('Sorry, this mod currently supports MySQL only. Please install manually.'); } } /***********************************************************************/ // 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.