mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 08:12:17 +09:00
Fix #1602 support username/password for Redis cache
This commit is contained in:
parent
80b235001e
commit
2f0b6433bc
6 changed files with 22 additions and 3 deletions
|
|
@ -16,16 +16,17 @@ jQuery(function($){
|
|||
if ($("#object_cache_port").val() == '6379') {
|
||||
$("#object_cache_port").val('11211');
|
||||
}
|
||||
$("#object_cache_dbnum").parents("label").hide();
|
||||
$("#object_cache_redis_config").hide();
|
||||
}
|
||||
if ($(this).val().match(/redis/)) {
|
||||
if ($("#object_cache_port").val() == '11211') {
|
||||
$("#object_cache_port").val('6379');
|
||||
}
|
||||
$("#object_cache_dbnum").parents("label").show();
|
||||
$("#object_cache_redis_config").show();
|
||||
}
|
||||
} else {
|
||||
$("#object_cache_additional_config").hide();
|
||||
$("#object_cache_redis_config").hide();
|
||||
}
|
||||
}).triggerHandler("change");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue