diff --git a/PROMS/VEPROMS User Interface/AboutVEPROMS.cs b/PROMS/VEPROMS User Interface/AboutVEPROMS.cs index ab22efb7..c53703ab 100644 --- a/PROMS/VEPROMS User Interface/AboutVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/AboutVEPROMS.cs @@ -24,7 +24,7 @@ namespace VEPROMS //"Data Source=.\\SQLEXPRESS;Initial Catalog=VEPROMS_RGE_SAMG_Convert;Integrated Security=True" DateTime buildDateTime = new System.IO.FileInfo(Assembly.GetExecutingAssembly().Location).LastWriteTime; // If the AssemblyConfiguration is "DEMO" then we are running a Demo version - string demoTxt = VlnSettings.ReleaseMode.Equals("DEMO")?"(Demo)": ""; + string demoTxt = VlnSettings.DemoMode ? "(Demo)": VlnSettings.DebugMode ? "(Debug)" : "(Production)"; string connectionString = Database.VEPROMS_Connection; Match mServer = Regex.Match(connectionString,".*Data Source=([^;]*).*"); string server = (mServer.Success)?mServer.Groups[1].Value:"unknown";