Skip to content

Commit

Permalink
add allow_url_include=on in docker file and add the key
Browse files Browse the repository at this point in the history
  • Loading branch information
RayGuo-ergou committed Aug 31, 2021
1 parent 67fb593 commit e2a7980
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ RUN service mysql start && \

EXPOSE 80

RUN sed -ri -e "s/^allow_url_include.*/allow_url_include = On/" /etc/php/7.0/apache2/php.ini && sed -ri -e "s/^allow_url_include.*/allow_url_include = On/" /etc/php/7.0/cli/php.ini

COPY main.sh /
ENTRYPOINT ["/main.sh"]
4 changes: 2 additions & 2 deletions config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# ReCAPTCHA settings
# Used for the 'Insecure CAPTCHA' module
# You'll need to generate your own keys at: https://www.google.com/recaptcha/admin/create
$_DVWA[ 'recaptcha_public_key' ] = '';
$_DVWA[ 'recaptcha_private_key' ] = '';
$_DVWA[ 'recaptcha_public_key' ] = '6LdJJlUUAAAAAH1Q6cTpZRQ2Ah8VpyzhnffD0mBb';
$_DVWA[ 'recaptcha_private_key' ] = '6LdJJlUUAAAAAM2a3HrgzLczqdYp4g05EqDs-W4K';

# Default security level
# Default value for the secuirty level with each session.
Expand Down

1 comment on commit e2a7980

@RayGuo-ergou
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ref: opsxcq#17

Please sign in to comment.