diff --git a/check_setup.php b/check_setup.php index 4fb89e1..6c8a181 100644 --- a/check_setup.php +++ b/check_setup.php @@ -62,6 +62,11 @@ if (! is_writable(DATA_DIRECTORY)) { die('The data directory must be writeable by your web server user'); } +// Create favicon folder if missing +if (! is_dir(FAVICON_DIRECTORY)) { + mkdir(FAVICON_DIRECTORY); +} + // Check if favicon directory is writeable if (! is_writable(FAVICON_DIRECTORY)) { die('The favicon directory must be writeable by your web server user'); diff --git a/docs/docker.markdown b/docs/docker.markdown index 71086ff..b8d719e 100644 --- a/docs/docker.markdown +++ b/docs/docker.markdown @@ -28,4 +28,4 @@ Run container from the image: docker run -p 80:80 --name miniflux ``` -You can also mount the volume `/var/www/html/data` to save the data on the host machine. +You can also mount the volume `/var/www/html/data` to save the data on the host machine (this folder must have write access from the container web server user).