Commit a7604c63 authored by echicken's avatar echicken 🐔
Browse files

Added UsingHAProxy() function to this here funclib dot js

parent c1bebfc1
...@@ -136,6 +136,11 @@ function UsingSecondRLoginName() { ...@@ -136,6 +136,11 @@ function UsingSecondRLoginName() {
return (FBBSOptions.indexOf("USE_2ND_RLOGIN") !== -1); return (FBBSOptions.indexOf("USE_2ND_RLOGIN") !== -1);
} }
function UsingHAProxy() {
GetSBBSIniValues();
return (FBBSOptions.indexOf("HAPROXY_PROTO") !== -1);
}
function GetInterface(i) { function GetInterface(i) {
if (['', '0.0.0.0', '::'].indexOf(i) > -1) return 'localhost'; if (['', '0.0.0.0', '::'].indexOf(i) > -1) return 'localhost';
return i; return i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment