mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
da3d923ab7
- Added FAQ page with commonly asked questions. - Added separate config options for each tier of max upload size. - Updated help to point to the new pages.
25 lines
602 B
C#
25 lines
602 B
C#
namespace Teknik.Configuration
|
|
{
|
|
public class DatabaseConfig
|
|
{
|
|
public string Server { get; set; }
|
|
public int Port { get; set; }
|
|
public string Database { get; set; }
|
|
public string Username { get; set; }
|
|
public string Password { get; set; }
|
|
|
|
public DatabaseConfig()
|
|
{
|
|
SetDefaults();
|
|
}
|
|
|
|
public void SetDefaults()
|
|
{
|
|
Server = "localhost";
|
|
Port = 3306;
|
|
Database = string.Empty;
|
|
Username = string.Empty;
|
|
Password = string.Empty;
|
|
}
|
|
}
|
|
} |