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 /include/common.inc.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 'include/common.inc.php')
-rw-r--r-- | include/common.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index ee043642c..18053e3ae 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -155,13 +155,13 @@ include(PHPWG_ROOT_PATH.'include/user.inc.php'); // language files -include_once(get_language_filepath('common.lang.php')); +load_language('common.lang'); if (defined('IN_ADMIN') and IN_ADMIN) { - include_once(get_language_filepath('admin.lang.php')); + load_language('admin.lang'); } trigger_action('loading_lang'); -@include_once(get_language_filepath('local.lang.php')); +load_language('local.lang'); // only now we can set the localized username of the guest user (and not in // include/user.inc.php) |