]> git.mjollnir.org Git - moodle.git/commit
MDL-15614 Add 3 missing PHP error codes to get_file_upload_error()
authorfmarier <fmarier>
Mon, 14 Jul 2008 02:38:50 +0000 (02:38 +0000)
committerfmarier <fmarier>
Mon, 14 Jul 2008 02:38:50 +0000 (02:38 +0000)
commita8e352c5f4a0e1e44d1f566a3f322cd903db559c
tree839a7b6c343e397e372c94be2142690363428501
parent07e9a3005fbc85674fb4eab67c2b073916976bbb
MDL-15614 Add 3 missing PHP error codes to get_file_upload_error()

The get_file_upload_error() function was missing the following error codes:

    UPLOAD_ERR_NO_TMP_DIR => 'Missing a temporary folder.',
    UPLOAD_ERR_CANT_WRITE => 'Failed to write file to disk.',
    UPLOAD_ERR_EXTENSION => 'File upload stopped by extension.',

(see http://www.php.net/manual/en/features.file-upload.errors.php)
lang/en_utf8/moodle.php
lib/uploadlib.php