sql_query($sql)) ) { message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql); } while ( $row = $db->sql_fetchrow($result) ) { //getting all the values and setting in a loop $board_config[$row['config_name']] = $row['config_value']; } include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx); if (file_exists($phpbb_root_path . 'install') || file_exists('contrib')) { message_die(GENERAL_MESSAGE, 'Please ensure both the install/ and contrib/ directories are deleted'); } // // Show 'Board is disabled' message if needed. // if( $board_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN") ) { message_die(GENERAL_MESSAGE, 'Board_disable', 'Information'); } ?>