Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 154 Rev 164
Línea 137... Línea 137...
137
        return include __DIR__ . '/../config/module.config.php';
137
        return include __DIR__ . '/../config/module.config.php';
138
    }
138
    }
Línea 139... Línea 139...
139
 
139
 
140
    public function onBootstrap(MvcEvent $event)
140
    public function onBootstrap(MvcEvent $event)
-
 
141
    {
-
 
142
        header('Access-Control-Allow-Origin: *');
-
 
143
        header('Access-Control-Allow-Headers: *');
-
 
144
        header('Access-Control-Allow-Method: POST, GET, HEAD, OPTIONS');
-
 
145
        header('Access-Control-Max-Age: 86400');
Línea 141... Línea 146...
141
    {
146
        
142
 
147
 
143
        $response = $event->getResponse();
148
        $response = $event->getResponse();