| | |
| | | $data = $request->get_params(); |
| | | |
| | | |
| | | |
| | | error_log('[UploadRoutes]:handleGroupingRequest: data'.print_r($data, true)); |
| | | error_log('[UploadRoutes]:handleGroupingRequest: args'.print_r($args, true)); |
| | | |
| | | error_log('get_file_params: '.print_r($files, true)); |
| | | global $_FILES; |
| | | error_log('Global Files: '.print_r($_FILES, true)); |
| | | |
| | | if (!$args['content'] || !$args['user'] || !$args['posts']) { |
| | | |
| | |
| | | $used_upload_ids = []; |
| | | |
| | | $content = jvbCheckBase($data['content']); |
| | | error_log('[processTimelineUploads]Got content: '.print_r($content, true)); |
| | | $config = Features::getConfig($content); |
| | | error_log('[processTimelineUploads]Got config: '.print_r($config, true)); |
| | | $defaultTitle = 'New '.$config['singular']. ' '; |
| | | foreach ($data['posts'] as $index=> $post) { |
| | | $title = !empty($post['fields']['post_title']) |