adm_program/system/classes/FileUpload.php
Method setHeaderData
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function setHeaderData()
{
if ($this->module === 'photos') {
$textFileUploaded = $GLOBALS['gL10n']->get('SYS_PHOTO_FILE_UPLOADED');
$textUploadSuccessful = $GLOBALS['gL10n']->get('SYS_PHOTO_UPLOAD_SUCCESSFUL');