mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-08 08:35:31 +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:
parent
ea33ee4b11
commit
4b3714ee8f
@ -692,6 +692,8 @@ function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '',
|
|||||||
// dougk_ff7 <October 5, 2002>
|
// dougk_ff7 <October 5, 2002>
|
||||||
function phpbb_realpath($path)
|
function phpbb_realpath($path)
|
||||||
{
|
{
|
||||||
|
global $phpbb_root_path, $phpEx;
|
||||||
|
|
||||||
return (!@function_exists('realpath') || !@realpath($phpbb_root_path . 'includes/functions.'.$phpEx)) ? $path : @realpath($path);
|
return (!@function_exists('realpath') || !@realpath($phpbb_root_path . 'includes/functions.'.$phpEx)) ? $path : @realpath($path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ CREATE TABLE phpbb_confirm (
|
|||||||
code char(6) NOT NULL default '',
|
code char(6) NOT NULL default '',
|
||||||
PRIMARY KEY (session_id,confirm_id),
|
PRIMARY KEY (session_id,confirm_id),
|
||||||
KEY session_id (session_id)
|
KEY session_id (session_id)
|
||||||
)
|
);
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user