1
0
mirror of https://github.com/Mowie/Mowie synced 2024-06-01 08:36:43 +00:00

Fixed showing of translations in stream

This commit is contained in:
kolaente 2017-04-30 00:04:20 +02:00 committed by konrad
parent 8594b9aa11
commit a15b1d92aa

View File

@ -2,6 +2,16 @@
error_reporting(E_ALL);
require_once '../inc/autoload_adm.php';
//Get Langstrings
foreach ($apps->getApps() as $appname => $appdetail)
{
$path = '../apps/'.$appname. '/lang/';
if (file_exists($path) && is_dir($path))
{
$lang->setLangFolder($path);
}
}
//Get Stream as JSON
if(isset($_GET['getStream']) && is_loggedin())
{
@ -40,6 +50,7 @@ printHeader('Stream');
echo '<div class="main">';
//Get Stream Messages
$db->setCol('system_stream');
$db->get(null, null, 'id', 'DESC', 200);
foreach ($db->data as $stream)