diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index f6f07bd87b..b93017a98f 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -692,6 +692,8 @@ function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', // dougk_ff7 function phpbb_realpath($path) { + global $phpbb_root_path, $phpEx; + return (!@function_exists('realpath') || !@realpath($phpbb_root_path . 'includes/functions.'.$phpEx)) ? $path : @realpath($path); } diff --git a/phpBB/install/schemas/mysql_schema.sql b/phpBB/install/schemas/mysql_schema.sql index 2160d3be03..f74cd7c4e1 100644 --- a/phpBB/install/schemas/mysql_schema.sql +++ b/phpBB/install/schemas/mysql_schema.sql @@ -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) -) +); # --------------------------------------------------------