[ticket/12708] Make the path absolute by using __DIR__.

PHPBB3-12708
This commit is contained in:
Andreas Fischer 2014-06-14 18:16:57 +02:00
parent a120e4bdf6
commit 5f4a058655

View file

@ -56,7 +56,7 @@ class install_main extends module
case 'license' :
$title = $lang['GPL'];
$body = implode("<br/>\n", file('../docs/LICENSE.txt'));
$body = implode("<br/>\n", file(__DIR__ . '/../docs/LICENSE.txt'));
break;
case 'support' :