X-Git-Url: http://andersk.mit.edu/gitweb/sql-web.git/blobdiff_plain/1389493c540d4def6423bfb4ad05bf3dcc3e6156..85527c0c4bd8e594bf4154ac0b33cf35f571a047:/index.php diff --git a/index.php b/index.php index 7ab6049..e018d83 100755 --- a/index.php +++ b/index.php @@ -1,7 +1,6 @@ canSignup() && redirect('signup'); +!DEVEL && $_SERVER['SERVER_NAME'] != 'sql.mit.edu' && redirect2('http://sql.mit.edu/'); +//$LoginSSL->canSignup() && redirect('signup'); //redirect('login'); include 'tpl/index.php'; -exit; - -if (isset($_SESSION['owner'])) { - $owner = $_SESSION['owner']; - $dbm = new DBManage($owner); - -?>
Your account is already initialized.
'; - } - } - break; - case 'uninit': - echo 'This operation will remove all the databases and accounts for: ',$owner,'. Are you sure?
'; - echo '