SQL file issues.

This commit is contained in:
Jeff Teunissen 2002-02-22 07:22:34 +00:00
parent 27df5c833e
commit 2875c19a5d

View file

@ -27,6 +27,11 @@
have ('auth'); have ('auth');
need ('table'); need ('table');
if (!defined ('_SQLCONSTS_')) {
define ('_SQLCONSTS_', 1);
require siteHome . '/../etc/sql.conf';
}
/* SQL definition for member list table /* SQL definition for member list table
CREATE TABLE members ( CREATE TABLE members (
u_key int DEFAULT '0' NOT NULL auto_increment PRIMARY KEY, u_key int DEFAULT '0' NOT NULL auto_increment PRIMARY KEY,
@ -110,6 +115,7 @@ CREATE TABLE members (
} }
// Initialization // Initialization
echo sqlHost . sqlUser . sqlPass;
$db = @mysql_connect (sqlHost, sqlUser, sqlPass); $db = @mysql_connect (sqlHost, sqlUser, sqlPass);
if ($loginInfo) { if ($loginInfo) {