1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 07:07:51 +02:00

fix phpbb_realpath and added delimiter to phpbb_confirm table (what a single ; can do... :))

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3490 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2003-02-21 13:22:29 +00:00
parent ea33ee4b11
commit 4b3714ee8f
2 changed files with 3 additions and 1 deletions

View File

@ -692,6 +692,8 @@ function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '',
// dougk_ff7 <October 5, 2002>
function phpbb_realpath($path)
{
global $phpbb_root_path, $phpEx;
return (!@function_exists('realpath') || !@realpath($phpbb_root_path . 'includes/functions.'.$phpEx)) ? $path : @realpath($path);
}

View File

@ -101,7 +101,7 @@ CREATE TABLE phpbb_confirm (
code char(6) NOT NULL default '',
PRIMARY KEY (session_id,confirm_id),
KEY session_id (session_id)
)
);
# --------------------------------------------------------