Changeset 5514 for trunk/prototype/converter.php
- Timestamp:
- 02/14/12 16:52:04 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/converter.php
r5415 r5514 3 3 require_once 'api/controller.php'; 4 4 5 $method = $_REQUEST['analize'] ? 'analize' : 'parse';5 $method = isset($_REQUEST['analize']) && $_REQUEST['analize'] ? 'analize' : 'parse'; 6 6 7 7 $args = Controller::call( $method, … … 9 9 array( 'service' => $_REQUEST['type'] ), 10 10 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'], 12 12 13 13 $_REQUEST['params'] ); 14 14 15 if( !$_REQUEST['readable'])15 if( !$_REQUEST['readable']) 16 16 require_once 'Sync.php'; 17 17 else
Note: See TracChangeset
for help on using the changeset viewer.