aboutsummaryrefslogtreecommitdiffstats
path: root/nbm.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-10-08 23:46:09 +0000
committerrvelices <rv-github@modusoptimus.com>2007-10-08 23:46:09 +0000
commit98b07a4a7fa1baff52800f70066f311768904430 (patch)
tree4bc89e8017f5fced16a6de6d4c8b37639caccff8 /nbm.php
parent5132cc1f87025bd17d6bd90e5ac8ad73288bf482 (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 'nbm.php')
-rw-r--r--nbm.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/nbm.php b/nbm.php
index 1a30aae76..c96bbc252 100644
--- a/nbm.php
+++ b/nbm.php
@@ -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');
+
// +-----------------------------------------------------------------------+