Ignore:
Timestamp:
02/14/12 16:52:04 (12 years ago)
Author:
acoutinho
Message:

Ticket #2434 - Implementacao anexos, acls e delegacao de participantes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/converter.php

    r5415 r5514  
    33require_once 'api/controller.php'; 
    44 
    5 $method =  $_REQUEST['analize'] ? 'analize' : 'parse'; 
     5$method =  isset($_REQUEST['analize']) && $_REQUEST['analize'] ? 'analize' : 'parse'; 
    66 
    77$args = Controller::call( $method, 
     
    99                          array( 'service' => $_REQUEST['type'] ), 
    1010 
    11                           isset( $_FILES['data'] ) ? file_get_contents( $_FILES['data']['tmp_name'] ) : $_REQUEST['data'], 
     11                          isset( $_FILES['files'] ) ? file_get_contents( $_FILES['files']['tmp_name'][0], $_FILES['files']['size'][0] ) : $_REQUEST['data'], 
    1212 
    1313                          $_REQUEST['params'] ); 
    1414 
    15 if(!$_REQUEST['readable']) 
     15if( !$_REQUEST['readable']) 
    1616        require_once 'Sync.php'; 
    1717else 
Note: See TracChangeset for help on using the changeset viewer.