File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM eu.gcr.io/long-grin-186810/rs-php:7.4.4-apache-2.4.38.0
22LABEL maintainer="Ralph Schuster <github@ralph-schuster.eu>"
33
4- # RUN apt-get update && apt-get update && apt-get install -y --no-install-recommends \
5- # patch \
6- # && rm -rf /var/lib/apt/lists/*
4+ RUN apt-get update && apt-get update && apt-get install -y --no-install-recommends \
5+ patch \
6+ && rm -rf /var/lib/apt/lists/*
77
88# ADD etc/php/ /usr/local/etc/php/conf.d/
99# ADD etc/conf/ /etc/apache2/conf-enabled/
@@ -18,8 +18,9 @@ RUN set -xe \
1818 && curl -o postfixadmin.tar.gz -L "$PFA_URL" \
1919 && tar --strip-components=1 -xvf postfixadmin.tar.gz \
2020 && rm postfixadmin.tar.gz \
21- && mkdir templates_c \
22- && chown -R www-data:www-data .
21+ && mkdir templates_c
2322
2423ADD src/ /var/www/html/
24+ RUN patch model/MailboxHandler.php < MailboxHandler.php.patch
2525
26+ RUN chown -R www-data:www-data .
Original file line number Diff line number Diff line change 1+ --- MailboxHandler.php.orig 2020-04-18 17:09:37.402734541 +0200
2+ +++ MailboxHandler.php 2020-04-18 17:10:37.162880214 +0200
3+ @@ -216,7 +216,7 @@
4+
5+
6+ protected function beforestore() {
7+ -
8+ + if (!is_numeric($this->values['quota'])) $this->values['quota'] = 0;
9+ if (isset($this->values['quota']) && $this->values['quota'] != -1) {
10+ $multiplier = Config::read('quota_multiplier');
11+ if ($multiplier == 0 || !is_numeric($multiplier)) { // or empty string, or null, or false...
12+
You can’t perform that action at this time.
0 commit comments