Create automatically the favicon directory if missing
This commit is contained in:
parent
d7cb090aae
commit
da0774db95
@ -62,6 +62,11 @@ if (! is_writable(DATA_DIRECTORY)) {
|
|||||||
die('The data directory must be writeable by your web server user');
|
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
|
// Check if favicon directory is writeable
|
||||||
if (! is_writable(FAVICON_DIRECTORY)) {
|
if (! is_writable(FAVICON_DIRECTORY)) {
|
||||||
die('The favicon directory must be writeable by your web server user');
|
die('The favicon directory must be writeable by your web server user');
|
||||||
|
@ -28,4 +28,4 @@ Run container from the image:
|
|||||||
docker run -p 80:80 --name miniflux <yourname/imagename>
|
docker run -p 80:80 --name miniflux <yourname/imagename>
|
||||||
```
|
```
|
||||||
|
|
||||||
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).
|
||||||
|
Loading…
Reference in New Issue
Block a user