aspendigital / docker-octobercms

Dockerized October CMS: PHP, Composer, October core and dependencies
MIT License
150 stars 54 forks source link

safe_mode is currently enabled #18

Closed atlekbai closed 5 years ago

atlekbai commented 5 years ago

Can't add any PHP code into a static page. It shows an error "safe_mode is currently enabled". How to disable or fix this problem?

petehalverson commented 5 years ago

@atlekbai October CMS Safe Mode is enabled because APP_DEBUG is set to false by default.

Try starting the container with the environment variable APP_DEBUG=true:

docker run --rm -p80:80 -e APP_DEBUG=true aspendigital/octobercms:build.447