uploadDir}status_{$_GET['id']}.txt"; if (file_exists($file)) { $str = file_get_contents($file); echo $str; } else { $status = "
  " . ts('No processing status reported yet.') . "
"; echo json_encode(array(0, $status)); } CRM_Utils_System::civiExit(); } }