aboutsummaryrefslogtreecommitdiffstats
path: root/popuphelp.php
diff options
context:
space:
mode:
Diffstat (limited to 'popuphelp.php')
-rw-r--r--popuphelp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/popuphelp.php b/popuphelp.php
index 39abd3596..1fdf19c30 100644
--- a/popuphelp.php
+++ b/popuphelp.php
@@ -42,14 +42,14 @@ $title = l10n('PhpWebGallery Help');
$page['page_banner'] = '<h1>'.$title.'</h1>';
include(PHPWG_ROOT_PATH.'include/page_header.php');
-if
+if
(
isset($_GET['page'])
and preg_match('/^[a-z_]*$/', $_GET['page'])
)
{
$help_content =
- @file_get_contents(get_language_filepath('help/'.$_GET['page'].'.html'));
+ load_language('help/'.$_GET['page'].'.html', '', '', true);
if ($help_content == false)
{