Allows all origins for CORS headers

Sets origin headers automatically to emulate wildcard CORS. Read more.

php
fork add to bundle source
function cors_allow_all() { header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}"); header("Access-Control-Allow-Headers: X-Requested-With"); }
create log ...inout