Proyectos de Subversion LeadersLinked - Services

Rev

Rev 39 | Rev 41 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 39 Rev 40
Línea 11... Línea 11...
11
//date_default_timezone_set('Etc/GMT+6');
11
//date_default_timezone_set('Etc/GMT+6');
Línea 12... Línea 12...
12
 
12
 
13
//header('Access-Control-Allow-Origin: *');
13
//header('Access-Control-Allow-Origin: *');
Línea -... Línea 14...
-
 
14
//header('Content-type: application/json; charset=utf-8');
-
 
15
 
-
 
16
header('Access-Control-Allow-Origin: *');
-
 
17
header('Access-Control-Allow-Headers:  *');
-
 
18
#Header addAccess-Control-Allow-Headers "origin, x-requested-with, content-type"
-
 
19
header('Access-Control-Allow-Methods:  PUT, PATCH, GET, POST, DELETE, OPTIONS');
14
//header('Content-type: application/json; charset=utf-8');
20
 
15
 
21
 
16
/**
22
/**
17
 * This makes our life easier when dealing with paths. Everything is relative
23
 * This makes our life easier when dealing with paths. Everything is relative
18
 * to the application root now.
24
 * to the application root now.