Skip to content

Commit 608466e

Browse files
committed
Patching previously added erronous lines by replacing them with empty lines instead.
1 parent 047e84e commit 608466e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

root/etc/cont-init.d/50-config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ fi
6464
grep -qx '^upload_max_filesize.*$' /config/php/php-local.ini || echo 'upload_max_filesize = 100M' >> /config/php/php-local.ini
6565
grep -qx '^post_max_size.*$' /config/php/php-local.ini || echo 'post_max_size = 100M' >> /config/php/php-local.ini
6666

67+
68+
## TODO: Remove this following bit by 12/19/2020
69+
# Remove erronously added configs post-init
70+
sed -i "s/^upload_max_filesize = 100MB$//g" /config/php/php-local.ini
71+
sed -i "s/^post_max_size = 100MB$//g" /config/php/php-local.ini
72+
6773
# check for the mysql endpoint for 30 seconds
6874
END=$((SECONDS+30))
6975
while [ ${SECONDS} -lt ${END} ] && [ -n "${DB_HOST+x}" ]; do

0 commit comments

Comments
 (0)