1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

Updates related to message.php and transaction update

git-svn-id: file:///svn/phpbb/trunk@547 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-07-03 22:50:56 +00:00
parent 356f845abc
commit bed1d3ab9a
3 changed files with 18 additions and 16 deletions

View File

@@ -65,6 +65,7 @@ include('includes/auth.'.$phpEx);
include('includes/functions.'.$phpEx);
include('includes/db.'.$phpEx);
// Obtain and encode users IP
//$get_user_ip = ;
$user_ip = encode_ip(($HTTP_X_FORWARDED_FOR) ? $HTTP_X_FORWARDED_FOR : $REMOTE_ADDR);
@@ -89,7 +90,7 @@ if(!$result = $db->sql_query($sql))
$board_config['default_lang'] = "english";
$board_config['gzip_compress'] = 0;
message_die(SQL_QUERY, "Could not query config information", "", __LINE__, __FILE__);
message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}
else
{