added check for create => header
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
7dda80dcfd
commit
b7e421d731
|
@ -429,8 +429,10 @@ class BindAPI
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
print_r(value: $create);
|
print_r(value: $create);
|
||||||
|
if ($create['header'] != 200) {
|
||||||
die("make error handling");
|
die("make error handling");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
echo 'Server error' . PHP_EOL;
|
echo 'Server error' . PHP_EOL;
|
||||||
|
|
Loading…
Reference in New Issue