From 8608cc7868a1c393e63ecdd6cbf6d74283f2ad4a Mon Sep 17 00:00:00 2001 From: woderkant Date: Sat, 15 Jul 2017 00:26:46 +0200 Subject: [PATCH 1/4] Removed non-existing PHP directive upload_max_size The PHP directive upload_max_size in .htaccess, .user.ini, docs/Installation.md and docs/FAQ.md doesn't exist. The right one is upload_max_filesize. It's already there. See: http://php.net/manual/en/ini.core.php --- .user.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/.user.ini b/.user.ini index e2273cf..c82e595 100644 --- a/.user.ini +++ b/.user.ini @@ -3,6 +3,5 @@ ;max_execution_time = 200 ;post_max_size = 200M -;upload_max_size = 200M ;upload_max_filesize = 20M ;max_file_uploads = 200 From 9a3cbe7902b9118b03722a57a2f38d1824facbfc Mon Sep 17 00:00:00 2001 From: woderkant Date: Sat, 15 Jul 2017 00:28:08 +0200 Subject: [PATCH 2/4] Removed non-existing PHP directive upload_max_size --- .htaccess | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 9e2958d..2668ee5 100644 --- a/.htaccess +++ b/.htaccess @@ -6,14 +6,12 @@ Options -Indexes # # php_value max_execution_time 200 # php_value post_max_size 200M -# php_value upload_max_size 200M # php_value upload_max_filesize 20M # php_value max_file_uploads 100 # # # php_value max_execution_time 200 # php_value post_max_size 200M -# php_value upload_max_size 200M # php_value upload_max_filesize 20M # php_value max_file_uploads 100 # @@ -23,4 +21,4 @@ Options -Indexes # --- #Header add Access-Control-Allow-Origin "*" #Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" -#Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" \ No newline at end of file +#Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" From e2e343336f5402f7e176673af0c273e50386145e Mon Sep 17 00:00:00 2001 From: woderkant Date: Sat, 15 Jul 2017 00:28:44 +0200 Subject: [PATCH 3/4] Removed non-existing PHP directive upload_max_size --- docs/FAQ.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 5f7fc49..053a27b 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -11,7 +11,6 @@ If possible, change these settings directly in your `php.ini`. We recommend to i max_execution_time = 200 post_max_size = 100M - upload_max_size = 100M upload_max_filesize = 20M memory_limit = 256M @@ -58,4 +57,4 @@ There's a problem with images compressed by ImageOptim. [Read more.](https://git [#455](https://github.com/electerious/Lychee/issues/455) #### How to reset username and password? -Simply delete the whole `lychee_settings` table from the database. Lychee will regenerate it and ask you to enter a new username and password. \ No newline at end of file +Simply delete the whole `lychee_settings` table from the database. Lychee will regenerate it and ask you to enter a new username and password. From d5467e7233a161e06b5ca1178be239928ef28abf Mon Sep 17 00:00:00 2001 From: woderkant Date: Sat, 15 Jul 2017 00:29:13 +0200 Subject: [PATCH 4/4] Removed non-existing PHP directive upload_max_size --- docs/Installation.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/Installation.md b/docs/Installation.md index aa64dd2..c6a165e 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -9,7 +9,6 @@ To use Lychee without restrictions, we recommend to increase the values of the f max_execution_time = 200 post_max_size = 100M - upload_max_size = 100M upload_max_filesize = 20M memory_limit = 256M