Revision 5399,
348 bytes
checked in by cristiano, 13 years ago
(diff) |
Ticket #2434 - Alteração da estrutura de diretórios da nova API
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | require_once 'api/controller.php'; |
---|
4 | |
---|
5 | $args = Controller::call( 'parse', |
---|
6 | |
---|
7 | array( 'service' => $_REQUEST['type'] ), |
---|
8 | |
---|
9 | isset( $_FILES['data'] ) ? file_get_contents( $_FILES['data']['tmp_name'] ) : $_REQUEST['data'], |
---|
10 | |
---|
11 | $_REQUEST['params'] ); |
---|
12 | |
---|
13 | if(!$_REQUEST['readable']) |
---|
14 | require_once 'Sync.php'; |
---|
15 | else |
---|
16 | print_r(serialize($args)); |
---|
17 | |
---|
18 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.