From a120e4bdf6ba4afb8e76f9528c30fc7d52eb9cd9 Mon Sep 17 00:00:00 2001 From: Huynh Buu Tam Date: Sat, 14 Jun 2014 22:46:53 +0700 Subject: [PATCH 1/2] [ticket/12708] Correct the path to the LICENSE file in install_main. PHPBB3-12708 --- phpBB/install/install_main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/install/install_main.php b/phpBB/install/install_main.php index 2f37fc3237..b32dd38d90 100644 --- a/phpBB/install/install_main.php +++ b/phpBB/install/install_main.php @@ -56,7 +56,7 @@ class install_main extends module case 'license' : $title = $lang['GPL']; - $body = implode("
\n", file('../docs/COPYING')); + $body = implode("
\n", file('../docs/LICENSE.txt')); break; case 'support' : From 5f4a0586553ccbbd5bc5261ad1c8a7257ca68c53 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sat, 14 Jun 2014 18:16:57 +0200 Subject: [PATCH 2/2] [ticket/12708] Make the path absolute by using __DIR__. PHPBB3-12708 --- phpBB/install/install_main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/install/install_main.php b/phpBB/install/install_main.php index b32dd38d90..d5874dac83 100644 --- a/phpBB/install/install_main.php +++ b/phpBB/install/install_main.php @@ -56,7 +56,7 @@ class install_main extends module case 'license' : $title = $lang['GPL']; - $body = implode("
\n", file('../docs/LICENSE.txt')); + $body = implode("
\n", file(__DIR__ . '/../docs/LICENSE.txt')); break; case 'support' :