thinkphp
thinkphp copied to clipboard
How to enable CROSS
Hello,
I am trying to enable CROSS domains but i am not able to do this. how i can enable cross for controllers.
Thanks
you should add this code on your entry file
header("Access-Control-Allow-Origin: *");