Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 40 Rev 41
Línea 4... Línea 4...
4
 
4
 
5
 
5
 
Línea 6... Línea -...
6
use Laminas\Mvc\Application;
-
 
7
use Laminas\Stdlib\ArrayUtils;
-
 
8
 
-
 
9
//define('DIR_URL', dirname(__DIR__));
-
 
10
//define('SITE_URL',  'http://'  . $_SERVER['SERVER_NAME'] . '/');
-
 
11
//date_default_timezone_set('Etc/GMT+6');
-
 
12
 
-
 
13
//header('Access-Control-Allow-Origin: *');
-
 
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');
6
use Laminas\Mvc\Application;
20
 
7
use Laminas\Stdlib\ArrayUtils;
21
 
8
 
22
/**
9
/**
23
 * This makes our life easier when dealing with paths. Everything is relative
10
 * This makes our life easier when dealing with paths. Everything is relative