diff --git a/conf/config.php b/conf/config.php index e36df2b..bf7cf7e 100755 --- a/conf/config.php +++ b/conf/config.php @@ -74,9 +74,9 @@ $START_PAGE = 'main'; // Which page should be default (start page)? $RSS = 'RSS'; // if needed (if autodetection doesn't work), force language -$LANG = en; -//$LANG = __LANGUAGE__; +$LANG = __LANGUAGE__; // (it looks like forcing another language crashes lionwiki so it's better to keep LANG=en at the moment... autodetection seems to work anyway) +$LANG = en; /* see the file config.t2t to tweak the syntax and even more! */ diff --git a/conf/nginx.conf b/conf/nginx.conf index eef57bf..7e3ff9a 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -19,6 +19,10 @@ location __PATH__/ { fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; + + ## fixes upload problem: + fastcgi_buffers 16 16k; + fastcgi_buffer_size 32k; } # Don't include SSOWAT user panel (can lead to some server error, like "bad gateway")