mirror of
https://github.com/unraid/webgui.git
synced 2026-03-10 12:59:26 -05:00
Multi cache support
This commit is contained in:
@@ -28,6 +28,7 @@ if ($name == "") {
|
||||
"include" => "",
|
||||
"exclude" => "",
|
||||
"useCache" => "no",
|
||||
"cachePool" => "cache",
|
||||
"cow" => "auto"];
|
||||
} elseif (array_key_exists($name, $shares)) {
|
||||
/* edit existing share */
|
||||
@@ -148,9 +149,9 @@ _(Use cache pool (for new files/directories))_:
|
||||
:end
|
||||
|
||||
_(Select cache pool)_:
|
||||
: <select name="poolName">
|
||||
: <select name="shareCachePool">
|
||||
<?foreach ($pools as $pool):?>
|
||||
<?if ($cache[$pool]['devices']) echo mk_option($poolName,$pool,ucfirst($pool))?>
|
||||
<?if ($cache[$pool]['devices']) echo mk_option(1,$pool,ucfirst($pool))?>
|
||||
<?endforeach;?>
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user