/usr/share/php/data/en.php is in php-http-upload 1.0.0b2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <?php
$errorCodes = array();
$errorCodes['en'] = array(
'TOO_LARGE' => "File size too large. The maximum permitted size is: $maxsize bytes.",
'MISSING_DIR' => 'Missing destination directory.',
'IS_NOT_DIR' => 'The destination directory doesn\'t exist or is a regular file.',
'NO_WRITE_PERMS' => 'The destination directory doesn\'t have write perms.',
'NO_USER_FILE' => 'You haven\'t selected any file for uploading.',
'BAD_FORM' => 'The html form doesn\'t contain the required method="post" enctype="multipart/form-data".',
'E_FAIL_COPY' => 'Failed to copy the temporary file.',
'E_FAIL_MOVE' => 'Impossible to move the file.',
'FILE_EXISTS' => 'The destination file already exists.',
'CANNOT_OVERWRITE' => 'The destination file already exists and could not be overwritten.',
'NOT_ALLOWED_EXTENSION' => 'File extension not permitted.',
'PARTIAL' => 'The file was only partially uploaded.',
'ERROR' => 'Upload error:',
'DEV_NO_DEF_FILE' => 'This filename is not defined in the form as <input type="file" name=?>.',
);
?>
|