You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
Merge #1249
1249: Do not override values in /usr/local/etc/php/conf.d/roundcube.ini r=hoellen a=senilio ## What type of PR? bug-fix ## What does this PR do? Commen the `upload_max_filesize` and `post_max_size` values from .htaccess, which lets the values in /usr/local/etc/php/conf.d/roundcube.ini take effect ### Related issue(s) #1248 Co-authored-by: Emil Petersson <git@senil.io>
This commit is contained in:
@@ -32,6 +32,8 @@ RUN apt-get update && apt-get install -y \
|
|||||||
&& cd html \
|
&& cd html \
|
||||||
&& rm -rf CHANGELOG INSTALL LICENSE README.md UPGRADING composer.json-dist installer \
|
&& rm -rf CHANGELOG INSTALL LICENSE README.md UPGRADING composer.json-dist installer \
|
||||||
&& sed -i 's,mod_php5.c,mod_php7.c,g' .htaccess \
|
&& sed -i 's,mod_php5.c,mod_php7.c,g' .htaccess \
|
||||||
|
&& sed -i 's,^php_value.*post_max_size,#&,g' .htaccess \
|
||||||
|
&& sed -i 's,^php_value.*upload_max_filesize,#&,g' .htaccess \
|
||||||
&& chown -R www-data: logs temp \
|
&& chown -R www-data: logs temp \
|
||||||
&& rm -rf /var/lib/apt/lists
|
&& rm -rf /var/lib/apt/lists
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user