Call to undefined function http_response_code on php 5.3.27

Fix to Fatal error:  Call to undefined function http_response_code()
/api/includes/classes/base.class.php on line 140