Commit 2827e183 authored by Leigh Stoller's avatar Leigh Stoller

Turn off multisite for Emulab Portal. Closes issue #277

parent 69f4b94b
......@@ -409,7 +409,7 @@ function SPITFORM($formfields, $newuser, $errors)
echo " window.CANCOPY = $cancopy;\n";
$isadmin = (isset($this_user) && ISADMIN() ? 1 : 0);
echo " window.ISADMIN = $isadmin;\n";
$multisite = (isset($this_user) ? 1 : 0);
$multisite = (isset($this_user) && $ISCLOUD ? 1 : 0);
echo " window.MULTISITE = $multisite;\n";
$doconstraints = $TBMAINSITE;
echo " window.DOCONSTRAINTS = $doconstraints;\n";
......
......@@ -73,7 +73,7 @@ function SPITFORM($formfields, $errors)
$isadmin = (ISADMIN() ? 1 : 0);
$isstud = (STUDLY() ? 1 : 0);
$canrepo = (ISADMIN() || STUDLY() ? 1 : 0);
$multisite = 1;
$multisite = ($ISCLOUD ? 1 : 0);
$cloning = 0;
$copying = 0;
$disabled = 0;
......
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