summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-01-05 22:41:16 +0000
committerDries Buytaert <dries@buytaert.net>2008-01-05 22:41:16 +0000
commitd1b58bb9c1d27d01578dd31b7dbd12eb4baddc38 (patch)
treed24f058321d71d42fb450770733fdfdf3a14c938 /includes
parenta67e33054c89c554e634eedcc3b0ba2135628351 (diff)
downloadbrdo-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.inc2
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;