Browse Source

Update functions.php

pull/695/head
danpros 1 year ago
parent
commit
3125dc0703
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      system/includes/functions.php

+ 6
- 1
system/includes/functions.php View File

@ -3353,7 +3353,12 @@ function blog_copyright()
// Return blog language // Return blog language
function blog_language() function blog_language()
{ {
return str_replace('_', '-', config('language'));
$lang = config('language');
if (!empty($lang)) {
$exp = explode('_', $lang);
return $exp[0] . '-' . $exp[1];
}
return 'en-US';
} }
// Output head contents // Output head contents


Loading…
Cancel
Save