use Friendica\App;
use Friendica\Core\Renderer;
+use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Photo;
function fbrowser_content(App $a)
{
if (!local_user()) {
- exit();
+ System::exit();
}
if (DI::args()->getArgc() == 1) {
- exit();
+ System::exit();
}
// Needed to match the correct template in a module that uses a different theme than the user/site/default
if (!empty($_GET['mode'])) {
return $o;
} else {
- echo $o;
- exit();
+ System::httpExit($o);
}
}