From d1b58bb9c1d27d01578dd31b7dbd12eb4baddc38 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 5 Jan 2008 22:41:16 +0000 Subject: - Patch #199955 by saxofaan: file_upload_max_size() returns results in bytes, not in mega bytes. --- includes/file.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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; -- cgit v1.2.3