mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-09-12 04:05:15 -05:00
Stuff I will need
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<strong>White 2</strong>.</p>
|
||||
</div>
|
||||
<div class="gtsSection gtsInfo">
|
||||
<p>Supported features: <strong>Wi-Fi Club</strong><sup title="Support provided by AltWFC servers">altwfc</sup>,
|
||||
<p>Supported features: <strong>Wi-Fi Club</strong><sup title="Support provided through AltWFC servers">altwfc</sup>,
|
||||
<strong>GTS</strong>, <strong>Battle Videos</strong>,
|
||||
<strong>Random Matchup</strong></p>
|
||||
</div>
|
||||
|
||||
@@ -116,6 +116,7 @@ li
|
||||
{
|
||||
margin-left: 40px;
|
||||
position: relative;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.gtsInfo::before
|
||||
|
||||
@@ -3,6 +3,8 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.IO;
|
||||
using MySql.Data.MySqlClient;
|
||||
using System.Configuration;
|
||||
|
||||
namespace PkmnFoundations.Web
|
||||
{
|
||||
@@ -57,6 +59,11 @@ namespace PkmnFoundations.Web
|
||||
return filename.Substring(Dot, filename.Length - Dot).ToLowerInvariant();
|
||||
}
|
||||
|
||||
public static MySqlConnection CreateConnection()
|
||||
{
|
||||
return new MySqlConnection(ConfigurationManager.ConnectionStrings["pkmnFoundationsConnectionString"].ConnectionString);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user