Remove/replace killme() with *exit()
This commit is contained in:
@@ -59,7 +59,7 @@ function api_content(App $a)
|
||||
} catch (Exception $e) {
|
||||
echo "<pre>";
|
||||
var_dump($e);
|
||||
killme();
|
||||
exit();
|
||||
}
|
||||
|
||||
if (!empty($_POST['oauth_yes'])) {
|
||||
@@ -79,7 +79,7 @@ function api_content(App $a)
|
||||
$glue = "?";
|
||||
}
|
||||
$a->internalRedirect($consumer->callback_url . $glue . 'oauth_token=' . OAuthUtil::urlencode_rfc3986($params['oauth_token']) . '&oauth_verifier=' . OAuthUtil::urlencode_rfc3986($verifier));
|
||||
killme();
|
||||
exit();
|
||||
}
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate("oauth_authorize_done.tpl");
|
||||
@@ -117,5 +117,5 @@ function api_content(App $a)
|
||||
}
|
||||
|
||||
echo api_call($a);
|
||||
killme();
|
||||
exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user