Ignore:
Timestamp:
05/22/12 17:25:11 (12 years ago)
Author:
niltonneto
Message:

Ticket #2507 - Implementada condicao para permitir utilizacao do WS dentro do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/api/adapters/ExpressoAdapter.php

    r6227 r6273  
    120120                        } 
    121121                } 
     122                elseif($sessionid = $GLOBALS['_COOKIE']['sessionid']) { 
     123                        if($GLOBALS['phpgw']->session->verify($sessionid)) { 
     124                                return $sessionid; 
     125                        } 
     126                        else{ 
     127                                Errors::runException("LOGIN_NOT_LOGGED_IN"); 
     128                        } 
     129                } 
    122130                else{ 
    123131                        Errors::runException("LOGIN_NOT_LOGGED_IN");                     
Note: See TracChangeset for help on using the changeset viewer.