Fix file upload size limits and toast messages on failure

This commit is contained in:
ilham_gmail
2026-06-11 19:43:52 +07:00
parent 0593d25080
commit 3b62f71946
4 changed files with 34 additions and 13 deletions
+4
View File
@@ -9,4 +9,8 @@ COPY . /var/www/html/
# Set ownership and permissions
RUN chown -R www-data:www-data /var/www/html
# Increase PHP upload and post size limits
RUN echo "upload_max_filesize = 10M" > /usr/local/etc/php/conf.d/uploads.ini \
&& echo "post_max_size = 10M" >> /usr/local/etc/php/conf.d/uploads.ini
EXPOSE 80