Revision 387
Added by Matthias almost 18 years ago
class.admin.php | ||
---|---|---|
85 | 85 |
global $TEXT; |
86 | 86 |
// Connect to database and get website title |
87 | 87 |
global $database; |
88 |
$get_title = $database->query("SELECT value FROM ".TABLE_PREFIX."settings WHERE name = 'title'"); |
|
88 |
$get_title = $database->query("SELECT value FROM ".TABLE_PREFIX."settings WHERE name = 'website_title'");
|
|
89 | 89 |
$title = $get_title->fetchRow(); |
90 | 90 |
$header_template = new Template(ADMIN_PATH."/interface"); |
91 | 91 |
$header_template->set_file('page', 'header.html'); |
Also available in: Unified diff
Fixed a little typo error in class.admin.php (#364)