diff options
| author | uid42062 <uid42062@users.sourceforge.net> | 2001-07-04 22:44:15 +0000 |
|---|---|---|
| committer | uid42062 <uid42062@users.sourceforge.net> | 2001-07-04 22:44:15 +0000 |
| commit | 3aa28731311bc2a7052ce1caa084cb0cf9e77f0b (patch) | |
| tree | f888bd178a79645de22e3dd44d6341aa592ee2da /phpBB/includes/page_header.php | |
| parent | da911fcfdd09a08e53f9ca7adc224a14903bf57c (diff) | |
| download | forums-3aa28731311bc2a7052ce1caa084cb0cf9e77f0b.tar forums-3aa28731311bc2a7052ce1caa084cb0cf9e77f0b.tar.gz forums-3aa28731311bc2a7052ce1caa084cb0cf9e77f0b.tar.bz2 forums-3aa28731311bc2a7052ce1caa084cb0cf9e77f0b.tar.xz forums-3aa28731311bc2a7052ce1caa084cb0cf9e77f0b.zip | |
Changes related to message.php
git-svn-id: file:///svn/phpbb/trunk@557 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/page_header.php')
| -rw-r--r-- | phpBB/includes/page_header.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php index 015efa370f..931c84614a 100644 --- a/phpBB/includes/page_header.php +++ b/phpBB/includes/page_header.php @@ -56,8 +56,8 @@ if($board_config['gzip_compress']) // Parse and show the overall header. // $template->set_filenames(array( - "overall_header" => "overall_header.tpl", - "overall_footer" => "overall_footer.tpl")); + "overall_header" => "overall_header.tpl") +); // // Generate logged in/logged out status @@ -109,7 +109,7 @@ $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, s.session_logged_ $result = $db->sql_query($sql); if(!$result) { - error_die(SQL_QUERY, "Couldn't obtain user/online information.", __LINE__, __FILE__); + message_die(GENERAL_ERROR, "Couldn't obtain user/online information.", "", __LINE__, __FILE__, $sql); } $logged_visible_online = 0; @@ -161,7 +161,7 @@ if($userdata['session_logged_in']) $result_pm = $db->sql_query($sql); if(!$result_pm) { - error_die(SQL_QUERY, "Couldn't obtain user/online information.", __LINE__, __FILE__); + message_die(GENERAL_MESSAGE, "Couldn't obtain user/online information.", "", __LINE__, __FILE__, $sql); } if($pm_result = $db->sql_fetchrow($result_pm)) { |
