We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07689a4 commit 88ec3a8Copy full SHA for 88ec3a8
etc/library.sh
@@ -598,10 +598,10 @@ function get_nc_config_value() {
598
function clear_opcache() {
599
# shellcheck disable=SC2155
600
local data_dir="$(get_nc_config_value datadirectory)"
601
- ! [[ -d "${data_dir:-/var/www/data}/.opcache" ]] || {
+ ! [[ -d "${data_dir:-/var/www/nextcloud/data}/.opcache" ]] || {
602
echo "Clearing opcache..."
603
echo "This can take some time. Please don't interrupt the process/close your browser tab."
604
- rm -rf "${data_dir:-/var/www/data}/.opcache"/*
+ rm -rf "${data_dir:-/var/www/nextcloud/data}/.opcache"/* "${data_dir:-/var/www/nextcloud/data}/.opcache"/.[!.]*
605
echo "Done."
606
}
607
service php${PHPVER}-fpm reload
0 commit comments