mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Fix cache select box displaying 'apc' if no config exists
This commit is contained in:
parent
ab712585d3
commit
bd94b6915e
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@
|
|||
<label class="x_control-label">{$lang->use_object_cache}</label>
|
||||
<div class="x_controls">
|
||||
<select name="object_cache_type" id="object_cache_type">
|
||||
<option value="{$key}" loop="$object_cache_types=>$key" selected="selected"|cond="$key==$object_cache_type">{$key === 'dummy' ? $lang->msg_dummy_or_do_not_use : $key}</option>
|
||||
<option value="{$key}" loop="$object_cache_types=>$key" selected="selected"|cond="($key == $object_cache_type) || (!$object_cache_type && $key == 'dummy')">{$key === 'dummy' ? $lang->msg_dummy_or_do_not_use : $key}</option>
|
||||
</select>
|
||||
<div id="object_cache_additional_config" class="x_inline" style="display:none;margin-left:16px">
|
||||
<label for="object_cache_host" class="x_inline">{$lang->cache_host}: <input type="text" name="object_cache_host" id="object_cache_host" value="{$object_cache_host}" /></label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue