mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-10 23:32:38 +00:00
SQL file issues.
This commit is contained in:
parent
27df5c833e
commit
2875c19a5d
1 changed files with 7 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue