Skip to content
Snippets Groups Projects
Commit a7604c63 authored by echicken's avatar echicken :chicken:
Browse files

Added UsingHAProxy() function to this here funclib dot js

parent c1bebfc1
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -136,6 +136,11 @@ function UsingSecondRLoginName() {
return (FBBSOptions.indexOf("USE_2ND_RLOGIN") !== -1);
}
function UsingHAProxy() {
GetSBBSIniValues();
return (FBBSOptions.indexOf("HAPROXY_PROTO") !== -1);
}
function GetInterface(i) {
if (['', '0.0.0.0', '::'].indexOf(i) > -1) return 'localhost';
return i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment