From: Joe Presbrey
Date: Fri, 9 Sep 2005 18:47:38 +0000 (+0000)
Subject: index.php: old stuff moved to attic
X-Git-Url: http://andersk.mit.edu/gitweb/sql-web.git/commitdiff_plain/881173f370a8b1e84303a03dd3564f2f31dab2c7?hp=8933592bf33ba067b1de182ace7ab0950d10d9ac
index.php: old stuff moved to attic
git-svn-id: svn://presbrey.mit.edu/sql/mitsql@60 a142d4bd-2cfb-0310-9673-cb33a7e74f58
---
diff --git a/index.php b/index.php
index 7ab6049..7cceea0 100755
--- a/index.php
+++ b/index.php
@@ -1,7 +1,6 @@
canSignup() && redirect('signup');
-
//redirect('login');
include 'tpl/index.php';
-exit;
-
-if (isset($_SESSION['owner'])) {
- $owner = $_SESSION['owner'];
- $dbm = new DBManage($owner);
-
-?>SQL Databases:
[ ]
',TEXT_REGPASSTOOSHORT,'';
- } else {
- if (!$dbm->isInit()) {
- $dbm->init($i_initpw);
- redirectLocal('/');
- } else {
- echo 'Your account is already initialized.
';
- }
- }
- break;
- case 'uninit':
- echo 'This operation will remove all the databases and accounts for: ',$owner,'. Are you sure?
';
- echo '