Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6821 Rev 6823
Línea 393... Línea 393...
393
            if ($isJson) {
393
            if ($isJson) {
Línea 394... Línea 394...
394
 
394
 
395
 
-
 
396
 
395
 
397
                $data = [
396
 
398
                    'google_map_key'    => $google_map_key,
397
                $data = [
399
                    'email'     => $email,
398
                    'email'     => $email,
400
                    'remember'  => $remember,
399
                    'remember'  => $remember,
Línea 442... Línea 441...
442
 
441
 
443
    public function facebookAction()
442
    public function facebookAction()
Línea 444... Línea 443...
444
    {
443
    {
445
 
444
 
446
        $request = $this->getRequest();
445
        $request = $this->getRequest();
447
        if($request->isGet()) {
446
        if ($request->isGet()) {
448
/*
447
            /*
449
          //  try {
448
          //  try {
450
                $app_id = $this->config['leaderslinked.facebook.app_id'];
449
                $app_id = $this->config['leaderslinked.facebook.app_id'];
451
                $app_password = $this->config['leaderslinked.facebook.app_password'];
450
                $app_password = $this->config['leaderslinked.facebook.app_password'];
Línea 488... Línea 487...
488
                return new JsonModel([
487
                return new JsonModel([
489
                    'success' => false,
488
                    'success' => false,
490
                    'data' =>  'ERROR_WE_COULD_NOT_CONNECT_TO_FACEBOOK'
489
                    'data' =>  'ERROR_WE_COULD_NOT_CONNECT_TO_FACEBOOK'
491
                ]);
490
                ]);
492
            }*/
491
            }*/
493
            
-
 
494
        } else {
492
        } else {
495
            return new JsonModel([
493
            return new JsonModel([
496
                'success' => false,
494
                'success' => false,
497
                'data' => 'ERROR_METHOD_NOT_ALLOWED'
495
                'data' => 'ERROR_METHOD_NOT_ALLOWED'
498
            ]);
496
            ]);