diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-10-08 23:46:09 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-10-08 23:46:09 +0000 |
commit | 98b07a4a7fa1baff52800f70066f311768904430 (patch) | |
tree | 4bc89e8017f5fced16a6de6d4c8b37639caccff8 /popuphelp.php | |
parent | 5132cc1f87025bd17d6bd90e5ac8ad73288bf482 (diff) |
- 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
Diffstat (limited to 'popuphelp.php')
-rw-r--r-- | popuphelp.php | 4 |
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) { |