From 881173f370a8b1e84303a03dd3564f2f31dab2c7 Mon Sep 17 00:00:00 2001
From: Joe Presbrey
Date: Fri, 9 Sep 2005 18:47:38 +0000
Subject: [PATCH] index.php: old stuff moved to attic
git-svn-id: svn://presbrey.mit.edu/sql/mitsql@60 a142d4bd-2cfb-0310-9673-cb33a7e74f58
---
index.php | 141 ------------------------------------------------------
1 file changed, 141 deletions(-)
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 '