- 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
This commit is contained in:
rvelices
2007-10-08 23:46:09 +00:00
parent 5132cc1f87
commit 98b07a4a7f
15 changed files with 291 additions and 263 deletions
+3 -3
View File
@@ -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)