Move xml_status and http_status_exit
move functions
This commit is contained in:
@@ -22,12 +22,12 @@ function nodeinfo_wellknown(App $a) {
|
||||
|
||||
function nodeinfo_init(App $a) {
|
||||
if (!Config::get('system', 'nodeinfo')) {
|
||||
http_status_exit(404);
|
||||
Network::httpStatusExit(404);
|
||||
killme();
|
||||
}
|
||||
|
||||
if (($a->argc != 2) || ($a->argv[1] != '1.0')) {
|
||||
http_status_exit(404);
|
||||
Network::httpStatusExit(404);
|
||||
killme();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user