Loading Dockerfile +2 −1 Original line number Diff line number Diff line Loading @@ -22,11 +22,12 @@ RUN sed -i 's/ServerSignature On/ServerSignature Off/g' /etc/apache2/conf-enable COPY --chown=www-data:www-data --from=build /tmp/build/ /var/www/html/ COPY --chown=www-data:www-data /private /var/private/ COPY htdocs/.htaccess /var/www/html/.htaccess # Use the default production configuration RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" RUN echo 'error_log = /var/log/errors.log' >> "$PHP_INI_DIR/php.ini" RUN chmod u+x /var/www/html/welcome_mails/generate-signup-link.sh RUN chmod u+x /var/private/generate-signup-link.sh # copy composer executable from official Docker image # https://hub.docker.com/_/composer Loading htdocs/_config.yml +1 −1 Original line number Diff line number Diff line Loading @@ -51,5 +51,5 @@ plugins: # - vendor/gems/ # - vendor/ruby/ languages: ["en", "es", "fr", "de", "it"] exclude_from_localizations: ["css", "img", "langs", "welcome_mails", "captcha_check.php", "captcha_img.php", "catch_new_invites.php", "create.php", "delete_email_invite.php", "jquery-3.3.1.min.js", "meter.js", "process_apps.php", "register.php", "process_email_invite.php"] exclude_from_localizations: ["css", "img", "langs", "captcha_check.php", "captcha_img.php", "catch_new_invites.php", "create.php", "delete_email_invite.php", "jquery-3.3.1.min.js", "meter.js", "process_apps.php", "register.php", "process_email_invite.php"] include: ["_i18n", ".htaccess"] htdocs/welcome_mails/generate-signup-link.sh→private/generate-signup-link.sh +1 −1 Original line number Diff line number Diff line Loading @@ -36,4 +36,4 @@ export WELCOME_SMTP_PW export SIGNUP_URL export SIGNUP_RECIPIENT=$EMAIL export LANG=$LANG php /var/www/html/welcome_mails/sendmail.php No newline at end of file php /var/private/sendmail.php No newline at end of file htdocs/welcome_mails/sendmail.php→private/sendmail.php +1 −1 Original line number Diff line number Diff line <?php require "/var/www/html/vendor/autoload.php"; require_once('../helpers.php'); require_once("/var/www/html/helpers.php"); $to = getenv("SIGNUP_RECIPIENT"); $signup_url = getenv("SIGNUP_URL"); Loading Loading
Dockerfile +2 −1 Original line number Diff line number Diff line Loading @@ -22,11 +22,12 @@ RUN sed -i 's/ServerSignature On/ServerSignature Off/g' /etc/apache2/conf-enable COPY --chown=www-data:www-data --from=build /tmp/build/ /var/www/html/ COPY --chown=www-data:www-data /private /var/private/ COPY htdocs/.htaccess /var/www/html/.htaccess # Use the default production configuration RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" RUN echo 'error_log = /var/log/errors.log' >> "$PHP_INI_DIR/php.ini" RUN chmod u+x /var/www/html/welcome_mails/generate-signup-link.sh RUN chmod u+x /var/private/generate-signup-link.sh # copy composer executable from official Docker image # https://hub.docker.com/_/composer Loading
htdocs/_config.yml +1 −1 Original line number Diff line number Diff line Loading @@ -51,5 +51,5 @@ plugins: # - vendor/gems/ # - vendor/ruby/ languages: ["en", "es", "fr", "de", "it"] exclude_from_localizations: ["css", "img", "langs", "welcome_mails", "captcha_check.php", "captcha_img.php", "catch_new_invites.php", "create.php", "delete_email_invite.php", "jquery-3.3.1.min.js", "meter.js", "process_apps.php", "register.php", "process_email_invite.php"] exclude_from_localizations: ["css", "img", "langs", "captcha_check.php", "captcha_img.php", "catch_new_invites.php", "create.php", "delete_email_invite.php", "jquery-3.3.1.min.js", "meter.js", "process_apps.php", "register.php", "process_email_invite.php"] include: ["_i18n", ".htaccess"]
htdocs/welcome_mails/generate-signup-link.sh→private/generate-signup-link.sh +1 −1 Original line number Diff line number Diff line Loading @@ -36,4 +36,4 @@ export WELCOME_SMTP_PW export SIGNUP_URL export SIGNUP_RECIPIENT=$EMAIL export LANG=$LANG php /var/www/html/welcome_mails/sendmail.php No newline at end of file php /var/private/sendmail.php No newline at end of file
htdocs/welcome_mails/sendmail.php→private/sendmail.php +1 −1 Original line number Diff line number Diff line <?php require "/var/www/html/vendor/autoload.php"; require_once('../helpers.php'); require_once("/var/www/html/helpers.php"); $to = getenv("SIGNUP_RECIPIENT"); $signup_url = getenv("SIGNUP_URL"); Loading