'image/' . ($fileExtension == 'jpg' ? 'jpeg' : $fileExtension),
$this->ttl
);
- CRM_Utils_System::civiExit();
}
else {
- throw new CRM_Core_Exception(ts('Photo does not exist'));
+ header("HTTP/1.0 404 Not Found");
}
+ CRM_Utils_System::civiExit();
}
/**