Skip to content

Commit

Permalink
Change the explanation text for source(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
Commifreak committed Apr 2, 2023
1 parent 298928c commit ae78b7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/include/ABHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,8 @@ public static function isVolumeWithinAppdata($volume) {

foreach ($abSettings->allowedSources as $appdataPath) {
$appdataPath = rtrim($appdataPath, '/');
ABHelper::backupLog("$appdataPath within $volume?", ABHelper::LOGLEVEL_DEBUG);
if (str_starts_with($volume, $appdataPath)) {
ABHelper::backupLog("YES!", ABHelper::LOGLEVEL_DEBUG);
ABHelper::backupLog(__METHOD__ . ": $appdataPath IS within $volume.", ABHelper::LOGLEVEL_DEBUG);
return true;
}
}
Expand Down
7 changes: 4 additions & 3 deletions src/pages/content/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,11 @@
</dl>

<blockquote class='inline_help'>
<p>Please set all of your appdata paths here. Appdata paths are paths, in which you place your docker data. The
<p>Please set your appdata paths here. Appdata paths are paths, which holds your docker data. The
default path is <code>/mnt/user/appdata</code> or <code>/mnt/cache/appdata</code>.<br/>
If you use any other path, replace it here. If you use multiple appdata paths, set every path via the file
browser or paste it here.</p>
If you use any other path, put it in here. If you use multiple appdata paths, set every path via the file
browser or paste it here. <b>Everything within those set paths</b> will be considered as "internal" volume
(see below).</p>
<p><b>IMPORTANT:</b> This plugin differentiates between internal and external volume paths.<br/>
<b>Internal</b> ones are volume mappings, which store the main appdata
(<code>/mnt/user/appdata/mariadb/</code> would be such a volume). These will be backed up always!<br/>
Expand Down

0 comments on commit ae78b7e

Please sign in to comment.