diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-07-31 07:59:34 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-07-31 07:59:34 +0000 |
| commit | 4daf306cbcec1cc1eaf44c7b85b62e2e16f0e995 (patch) | |
| tree | f5cae84bcba8023a6c21db84ffd50cbf16edc7ed /frontends/php/include/config.inc.php | |
| parent | d819518a7df5456ad4694924457f1c67c755cf27 (diff) | |
- [DEV-137] implemented Korean language (Artem)
- [DEV-137] updated Japanese language (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5856 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
| -rw-r--r-- | frontends/php/include/config.inc.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index b220d6ae..0b0f5d5a 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -158,8 +158,10 @@ function TODO($msg) { echo "TODO: ".$msg.SBR; } // DEBUG INFO!!! if(!defined('ZBX_PAGE_NO_AUTHERIZATION')){ check_authorisation(); - include_once('include/locales/'.$USER_DETAILS['lang'].'.inc.php'); - process_locales(); + if(file_exists('include/locales/'.$USER_DETAILS['lang'].'.inc.php')){ + include_once('include/locales/'.$USER_DETAILS['lang'].'.inc.php'); + process_locales(); + } } else{ $USER_DETAILS = array( |
