Created
February 9, 2018 05:48
-
-
Save Soulwest/47ca3172cda6402b06a0132e86fd2bfd to your computer and use it in GitHub Desktop.
Kohana ajax debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
header('Access-Control-Allow-Origin: '.Request::initial()->headers('Origin')); | |
header('Access-Control-Allow-Credentials: true'); | |
header('Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment