Corrected validation check in routes.php file
This commit is contained in:
parent
c8bd47d1e5
commit
ba38392c46
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ $route['translate_uri_dashes'] = FALSE;
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (isset($_SERVER) && $_SERVER['REQUEST_METHOD'] === 'OPTIONS')
|
if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'OPTIONS')
|
||||||
{
|
{
|
||||||
header('Access-Control-Allow-Origin: *');
|
header('Access-Control-Allow-Origin: *');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue