mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
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: *');
|
||||
|
||||
|
|
Loading…
Reference in a new issue