Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Fix "No snapshots found" on WEBUI backups page nextcloud#1573
Browse files Browse the repository at this point in the history
  • Loading branch information
martinwilco committed Oct 20, 2023
1 parent 27fa012 commit 2c97b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ncp-web/backups.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function filesize_compat($file)

include( '/var/www/nextcloud/config/config.php' );

$snap_dir = realpath($CONFIG['datadirectory'] . '/../ncp-snapshots');
$snap_dir = realpath($CONFIG['datadirectory'] . '/../../ncp-snapshots');
$snaps = array();
if (file_exists($snap_dir))
{
Expand Down

0 comments on commit 2c97b1f

Please sign in to comment.