X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Futil.php;h=6ec557b2f915f9ba08e1ab8989caea9a5e0e47e8;hb=aac0605bd1baf1462a20646c01edc19557a33b93;hp=23abb142636456b0c982e7428c42d032df0564fe;hpb=e0c3bf5a75094937315aa09dd9635833f9eb2925;p=quix0rs-gnu-social.git diff --git a/lib/util.php b/lib/util.php index 23abb14263..6ec557b2f9 100644 --- a/lib/util.php +++ b/lib/util.php @@ -146,7 +146,9 @@ function common_init_language() { bind_textdomain_codeset("laconica", "UTF-8"); textdomain("laconica"); setlocale(LC_CTYPE, 'C'); - common_log(LOG_INFO,'Language requested:'.$language.' Locale set:'.$locale_set,__FILE__); + if(!$locale_set) { + common_log(LOG_INFO,'Language requested:'.$language.' - locale could not be set:',__FILE__); + } } define('PAGE_TYPE_PREFS', 'text/html,application/xhtml+xml,application/xml;q=0.3,text/xml;q=0.2');