All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 9051db8a authored by Robert Ricci's avatar Robert Ricci

Added a check to make sure that TBMAINSITE gets forced to 0 if

not being used on www.emulab.net
parent 29b98086
......@@ -21,6 +21,14 @@ $TBSUEXEC_PATH = "$TBLIBEXEC_DIR/suexec";
$TBCHKPASS_PATH = "$TBLIBEXEC_DIR/checkpass";
$TBCSLOGINS = "$TBETC_DIR/cslogins";
#
# Hardcoded check against $WWWHOST, to prevent anyone from accidentally setting
# $TBMAINSITE when it shouldn't be
#
if ($WWWHOST != "www.emulab.net") {
$TBMAINSITE = 0;
}
$TBPROJ_DIR = "/proj";
$TBUSER_DIR = "/users";
$TBNSSUBDIR = "nsdir";
......
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