diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-02-23 00:22:10 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-02-23 00:22:10 +0000 |
| commit | 8f193b2a39b6e8f5796ff25933440353151ef8ce (patch) | |
| tree | 5bc0c430042349ecd530f7c98fbdbf240e637143 /phpBB/db.php | |
| parent | acfee8f3f16416a1e68e359eb7412dfbbc697096 (diff) | |
| download | forums-8f193b2a39b6e8f5796ff25933440353151ef8ce.tar forums-8f193b2a39b6e8f5796ff25933440353151ef8ce.tar.gz forums-8f193b2a39b6e8f5796ff25933440353151ef8ce.tar.bz2 forums-8f193b2a39b6e8f5796ff25933440353151ef8ce.tar.xz forums-8f193b2a39b6e8f5796ff25933440353151ef8ce.zip | |
Switch table naming vars to constants
git-svn-id: file:///svn/phpbb/trunk@21 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/db.php')
| -rw-r--r-- | phpBB/db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/db.php b/phpBB/db.php index b9283d3350..3f37068919 100644 --- a/phpBB/db.php +++ b/phpBB/db.php @@ -56,7 +56,7 @@ $logged_in = 0; $userdata = Array(); // Setup forum wide options. -$sql = "SELECT * FROM $config_table WHERE selected = 1"; +$sql = "SELECT * FROM ".CONFIG_TABLE." WHERE selected = 1"; if(!$result = $db->sql_query($sql)) { error_die($db, QUERY_ERROR); |
