Changeset 13258 for trunk/include/functions.inc.php
- Timestamp:
- Feb 19, 2012, 8:59:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r13242 r13258 891 891 global $lang, $conf; 892 892 893 894 895 896 897 898 899 900 893 if ( ($val=@$lang[$key]) == null) 894 { 895 if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key)) 896 { 897 trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_WARNING); 898 } 899 $val = $key; 900 } 901 901 return $val; 902 902 }
Note: See TracChangeset
for help on using the changeset viewer.