0 || strlen($_POST["ajax"]) > 0) { $app->renderAjax($app); exit; } // new slim way if ($app->isRESTRequest) { $app->renderSlim(); exit; } if ($app->isScriptRequest) { $app->renderScript(); exit; } $isAccountpage = strcmp($app->navigate, "accountpage") == 0 || strcmp($app->navigate, "watch-newsletter") == 0; ?>