diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 3a444d7294..1cc71558a8 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -186,10 +186,11 @@ p a {
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index 3a7cbaf37b..0e97750c9f 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -1302,6 +1302,7 @@ class install_update extends module
switch ($mode)
{
case 'version_info':
+ global $phpbb_root_path, $phpEx;
$info = get_remote_file('www.phpbb.com', '/updatecheck', '30x.txt', $errstr, $errno);
if ($info !== false)