From 8ae5ada819bd908cac5c3889e5864a10372787ad Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 14 Sep 2008 18:17:33 +0000 Subject: Central: [15] Refs #52 --- central/trunk/install.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'central/trunk') diff --git a/central/trunk/install.php b/central/trunk/install.php index 59a83c9..b7a97ab 100644 --- a/central/trunk/install.php +++ b/central/trunk/install.php @@ -194,10 +194,7 @@ if (!isset($_GET['submit'])) $sql[6] = "INSERT INTO config (name,value) VALUES (\"xmlrpcURL\",\"" . mysql_real_escape_string($_POST['xmlrpcURL']) . "\")"; $sql[7] = "INSERT INTO config (name,value) VALUES (\"owner\",\"" . mysql_real_escape_string($_POST['adminUser']) . "\")"; $sql[8] = "INSERT INTO config (name,value) VALUES (\"verIDBufferSize\",\"10000\")"; - $sql[9] = "INSERT INTO config (name,value) VALUES (\"softwareVersion\",\"" . $softwareVersion . "\")"; - $sql[10] = "INSERT INTO config (name,value) VALUES (\"databaseVersion\",\"1\")"; $sql[11] = "INSERT INTO users (username, password, email, ip) VALUES (\"" . mysql_real_escape_string($_POST['adminUser']) . "\",\"" . mysql_real_escape_string(md5($_POST['adminPass'])) . "\",\"" . mysql_real_escape_string($_POST['adminEmail']) . "\",\"" . mysql_real_escape_string($_SERVER['REMOTE_ADDR']) . "\")"; - $sql[12] = "INSERT INTO subscriptions (username, url, owner, category) VALUES (\"" . mysql_real_escape_string($_POST['adminUser']) . "\", \"" . mysql_real_escape_string('http://fourisland.com/' . $_SERVER['SERVER_NAME'] . '/') . "\", \"true\", \"instadisc\")"; foreach ($sql as $name => $value) { @@ -230,7 +227,7 @@ if (!isset($_GET['submit'])) function showHeader($number) { -?>InstaDisc Server Setup Step <?php echo($number); ?>

InstaDisc Installation

InstaDisc Server Setup Step <?php echo($number); ?>

InstaDisc Installation