diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/functions_html.inc.php | 1 | ||||
-rw-r--r-- | include/functions_session.inc.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index cb530749a..07676efc5 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -588,6 +588,7 @@ function access_denied() set_status_header(401); if ( isset($user) and !is_a_guest() ) { + echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">'; echo '<div style="text-align:center;">'.l10n('access_forbiden').'<br />'; echo '<a href="'.get_root_url().'identification.php">'.l10n('identification').'</a> '; echo '<a href="'.make_index_url().'">'.l10n('home').'</a></div>'; diff --git a/include/functions_session.inc.php b/include/functions_session.inc.php index ed026a175..728fc8fba 100644 --- a/include/functions_session.inc.php +++ b/include/functions_session.inc.php @@ -146,7 +146,7 @@ INSERT INTO '.SESSIONS_TABLE.' (id,data,expiration) VALUES(\''.get_remote_addr_session_hash().$session_id.'\',\''.$data.'\',now()) ;'; - mysql_query($query); + pwg_query($query); return true; } |