Advertisement
Guest User

Untitled

a guest
May 9th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.20 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. using Server.Vorspire.MySQL;
  7.  
  8. namespace Server.Vorspire.PHPBB
  9. {
  10.     public partial class Config
  11.     {
  12.         public static bool
  13.             Enabled = true;
  14.  
  15.         public static string
  16.             /// <summary>
  17.             /// MySQL Database Host IP
  18.             /// </summary>     
  19.             DatabaseServ = "",
  20.             /// <summary>
  21.             /// MySQL Database Name
  22.             /// </summary>         
  23.             DatabaseName = "",
  24.             /// <summary>
  25.             /// MySQL Database Access User
  26.             /// </summary>
  27.             DatabaseUser = "",
  28.             /// <summary>
  29.             /// MySQL Database Access Password
  30.             /// </summary>
  31.             DatabasePass = "";
  32.  
  33.         public static ODBCDriver
  34.             /// <summary>
  35.             /// MySQL Database ODBC Driver Version
  36.             /// Refers to driver installed on THIS machine.
  37.             /// </summary>
  38.             DatabaseDriver = ODBCDriver._3_51;
  39.  
  40.         public static int
  41.             /// <summary>
  42.             /// MySQL Database Reconnect Retry Attempts
  43.             /// </summary>         
  44.             ConnectRetries = 3;
  45.  
  46.         public static string
  47.             /// <summary>
  48.             /// PHPBB Account Name
  49.             /// The name to use when posting.
  50.             /// MUST be a valid, active PHPBB account.
  51.             /// </summary> 
  52.             ForumAccount = "",
  53.             /// <summary>
  54.             /// PHPBB Forum Name
  55.             /// The name of the forum to create new topics.
  56.             /// MUST be a valid, active forum.
  57.             /// </summary> 
  58.             ForumName = "";
  59.  
  60.         public static string
  61.             /// <summary>
  62.             /// PHPBB MySQL Users Table
  63.             /// The table name storing user accounts.
  64.             /// </summary> 
  65.             TBL_Users = "phpbb_users",
  66.             /// <summary>
  67.             /// PHPBB MySQL Forums Table
  68.             /// The table name storing forum data.
  69.             /// </summary> 
  70.             TBL_Forums = "phpbb_forums",
  71.             /// <summary>
  72.             /// PHPBB MySQL Users Table
  73.             /// The table name storing post data.
  74.             /// </summary> 
  75.             TBL_Posts = "phpbb_posts",
  76.             /// <summary>
  77.             /// PHPBB MySQL Users Table
  78.             /// The table name storing topic data.
  79.             /// </summary> 
  80.             TBL_Topics = "phpbb_topics";
  81.        
  82.         public static bool
  83.             /// <summary>
  84.             /// Extended Errors
  85.             /// If this system, or any components of, throw any exceptions, they will be displayed in the Console window.
  86.             /// </summary> 
  87.             ExtendedErrors = true;
  88.  
  89.         public const string
  90.             SystemName = "PHPBB Reporting";
  91.     }
  92. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement