From 98b07a4a7fa1baff52800f70066f311768904430 Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 8 Oct 2007 23:46:09 +0000 Subject: - some code refactoring before upgrade to utf (only cosmetic at this point...) git-svn-id: http://piwigo.org/svn/trunk@2126 68402e56-0260-453c-a942-63ccdbb3a9ee --- popuphelp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'popuphelp.php') 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'] = '

'.$title.'

'; 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) { -- cgit v1.2.3