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

Added UsingHAProxy() function to this here funclib dot js

parent 21489d3d
No related branches found
No related tags found
No related merge requests found
......@@ -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.
Please register or to comment