Move xml_status and http_status_exit
move functions
This commit is contained in:
parent
a32ba32ff4
commit
cd3643d174
18 changed files with 87 additions and 85 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue