public Config findConfig() {
		SQLCommand cmd = new SQLCommand();
		RowSet rs = cmd.queryRowSet("select * from config where id=1");
		Config config =new Config();
		try {
			if (rs.next()) {
				config.setCSiteName(rs.getString("c_siteName"));
				config.setCSiteUrl(rs.getString("c_siteUrl"));
				config.setCIsOpen(rs.getBoolean("c_isOpen"));
				config.setCCloseWord(rs.getString("c_closeWord"));
				config.setCopyright(rs.getString("copyright"));
				return config;
			}

			return null;

		} catch (SQLException e) {

			e.printStackTrace();
		}
		return null;
	}