This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 48402c3 Partouf
committed Jun 11, 2024 · 2 / 2
1 parent 6581870 commit 48402c3 Copy full SHA for 48402c3
File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ implementation
16
16
DataMod_Database,
17
17
FireDAC.Comp.Client,
18
18
Logging.Interfaces,
19
- Settings;
19
+ Settings, MVCServer ;
20
20
21
21
class procedure TStartupParams.CheckDatabaseConnection ;
22
22
var
@@ -71,13 +71,19 @@ class procedure TStartupParams.Check;
71
71
Assert(Assigned(GSettings), ' App not initialized correctly' );
72
72
73
73
GSettings.SettingsCheck;
74
+
75
+ Exit;
74
76
end ;
75
77
76
78
if SameText(CurrentParam, ' --dbtest' ) then
77
79
begin
78
80
TestDatabaseConnection;
81
+
82
+ Exit;
79
83
end ;
80
84
end ;
85
+
86
+ TMVCServer.Start;
81
87
end ;
82
88
83
89
end .
Original file line number Diff line number Diff line change 25
25
GLogging.Info(' ds24_app version ' + C_COMMITHASH_MAIN);
26
26
27
27
TStartupParams.Check;
28
-
29
- TMVCServer.Start;
30
28
except
31
29
on E: Exception do
32
30
GLogging.Error(E.ClassName + ' : ' + E.Message);
You can’t perform that action at this time.
0 commit comments