mirror of
https://git.code.sf.net/p/quake/website
synced 2025-04-17 05:03:19 +00:00
SQL file issues.
This commit is contained in:
parent
27df5c833e
commit
2875c19a5d
1 changed files with 7 additions and 1 deletions
|
@ -26,7 +26,12 @@
|
|||
*/
|
||||
have ('auth');
|
||||
need ('table');
|
||||
|
||||
|
||||
if (!defined ('_SQLCONSTS_')) {
|
||||
define ('_SQLCONSTS_', 1);
|
||||
require siteHome . '/../etc/sql.conf';
|
||||
}
|
||||
|
||||
/* SQL definition for member list table
|
||||
CREATE TABLE members (
|
||||
u_key int DEFAULT '0' NOT NULL auto_increment PRIMARY KEY,
|
||||
|
@ -110,6 +115,7 @@ CREATE TABLE members (
|
|||
}
|
||||
|
||||
// Initialization
|
||||
echo sqlHost . sqlUser . sqlPass;
|
||||
$db = @mysql_connect (sqlHost, sqlUser, sqlPass);
|
||||
|
||||
if ($loginInfo) {
|
||||
|
|
Loading…
Reference in a new issue