Remove need for application cache directory after changes to icon cache

This commit is contained in:
Dale Davies
2024-04-16 16:02:53 +01:00
parent 465d9b9d6d
commit e86bd4f85b
3 changed files with 5 additions and 5 deletions

View File

@@ -62,8 +62,8 @@ COPY docker/php.ini /etc/php81/conf.d/custom.ini
COPY docker/entrypoint.sh /usr/local/bin/
# Create the cache directories and change owner of everything we need.
RUN mkdir -p /var/www/cache/application \
&& chown -R jumpapp:jumpapp /var/www/html /var/www/cache/application \
RUN mkdir /var/www/cache \
&& chown -R jumpapp:jumpapp /var/www/html /var/www/cache \
&& chmod +x /usr/local/bin/entrypoint.sh
# Expose the port we configured for nginx.

View File

@@ -56,8 +56,8 @@ COPY docker/xdebug.ini /etc/php81/conf.d/50_xdebug.ini
COPY docker/entrypoint.sh /usr/local/bin/
# Create the cache directories and change owner of everything we need.
RUN mkdir -p /var/www/cache/application \
&& chown -R jumpapp:jumpapp /var/www/html /var/www/cache/application \
RUN mkdir /var/www/cache \
&& chown -R jumpapp:jumpapp /var/www/html /var/www/cache \
&& chmod +x /usr/local/bin/entrypoint.sh
RUN mkdir -p /tmp/xdebug \

View File

@@ -108,7 +108,7 @@ class Cache {
if ($this->config->parse_bool($this->config->get('cachebypass'))) {
$this->storage = new Caching\Storages\DevNullStorage();
} else {
$this->storage = new Caching\Storages\FileStorage($this->config->get('cachedir').'/application');
$this->storage = new Caching\Storages\FileStorage($this->config->get('cachedir'));
}
}