Ativar CORS Cakephp
public function init_result() {
header("Access-Control-Allow-Origin: *");
$this->result = array(
'status' => false,
'message' => __("please_provide_information"),
'params' => array(),
);
}
Zidane (Vi Ly - VietNam)