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 /nbm.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 '')
-rw-r--r-- | nbm.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -34,10 +34,11 @@ include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php'); include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); include_once(PHPWG_ROOT_PATH.'admin/include/functions_notification_by_mail.inc.php'); // Translations are in admin file too -include(get_language_filepath('admin.lang.php')); +load_language('admin.lang'); // Need to update a second time trigger_action('loading_lang'); -@include(get_language_filepath('local.lang.php')); +load_language('local.lang'); + // +-----------------------------------------------------------------------+ |