language aware content

This commit is contained in:
Hubzilla
2017-01-20 13:36:37 -08:00
parent ece1dd1d7e
commit 0368b6730f
2 changed files with 22 additions and 0 deletions

View File

@@ -108,6 +108,8 @@ class Comanche {
return $_SERVER['REQUEST_URI'];
elseif($x[0] === 'observer') {
if(count($x) > 1) {
if($x[1] == 'language')
return \App::$language;
$y = \App::get_observer();
if(! $y)
return false;