From 0bcb4a6a8f507e249045154da02372a313a921dc Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 11 Aug 2011 21:00:18 +0200 Subject: [PATCH] set default max upload size in the .htaccess file to something rediculous and don't show the max filesize message when the limit is over 10GB --- .htaccess | 6 +++--- files/templates/index.php | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.htaccess b/.htaccess index c818c9ca2ea..23c90b26d8c 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,5 @@ -ErrorDocument 404 //core/templates/404.php -php_value upload_max_filesize 20M -php_value post_max_size 20M +ErrorDocument 404 //owncloud/core/templates/404.php +php_value upload_max_filesize 2048G +php_value post_max_size 2048G SetEnv htaccessWorking true Options -Indexes diff --git a/files/templates/index.php b/files/templates/index.php index 083322174e7..407cfa78c2f 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -6,7 +6,8 @@
- +