source: trunk/prototype/converter.php @ 5415

Revision 5415, 404 bytes checked in by cristiano, 12 years ago (diff)

Ticket #2434 - Correções no importar ical

RevLine 
[5341]1<?php
2
[5399]3require_once 'api/controller.php';
[5341]4
[5415]5$method =  $_REQUEST['analize'] ? 'analize' : 'parse';
[5341]6
[5415]7$args = Controller::call( $method,
8
[5341]9                          array( 'service' => $_REQUEST['type'] ),
10
11                          isset( $_FILES['data'] ) ? file_get_contents( $_FILES['data']['tmp_name'] ) : $_REQUEST['data'],
12
13                          $_REQUEST['params'] );
14
[5346]15if(!$_REQUEST['readable'])
16        require_once 'Sync.php';
17else
18        print_r(serialize($args));
[5341]19
20?>
Note: See TracBrowser for help on using the repository browser.