diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-01-05 22:41:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-01-05 22:41:16 +0000 |
commit | d1b58bb9c1d27d01578dd31b7dbd12eb4baddc38 (patch) | |
tree | d24f058321d71d42fb450770733fdfdf3a14c938 /includes | |
parent | a67e33054c89c554e634eedcc3b0ba2135628351 (diff) | |
download | brdo-d1b58bb9c1d27d01578dd31b7dbd12eb4baddc38.tar.gz brdo-d1b58bb9c1d27d01578dd31b7dbd12eb4baddc38.tar.bz2 |
- Patch #199955 by saxofaan: file_upload_max_size() returns results in bytes, not in mega bytes.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/file.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc index b6231e4b1..576df3a2e 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -966,7 +966,7 @@ function file_directory_path() { * Determine the maximum file upload size by querying the PHP settings. * * @return - * A file size limit in MB based on the PHP upload_max_filesize and post_max_size + * A file size limit in bytes based on the PHP upload_max_filesize and post_max_size */ function file_upload_max_size() { static $max_size = -1; |