Skip to content

Commit

Permalink
[4] Improve Redis configuration field help/label (#33882)
Browse files Browse the repository at this point in the history
- Add description to show that port is discarded when using a Unix socket connection.
- Add "/Sock" to host label to show that Joomla supports Redis Socket connections and that you can enter a tcp Host or a Unix socket path.
  • Loading branch information
Phil E. Taylor committed May 23, 2021
1 parent 81b75f6 commit 4e044c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions administrator/components/com_config/forms/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
name="redis_server_port"
type="number"
label="COM_CONFIG_FIELD_REDIS_PORT_LABEL"
description="COM_CONFIG_FIELD_REDIS_PORT_DESC"
showon="cache_handler:redis[AND]caching:1,2"
min="1"
max="65535"
Expand Down Expand Up @@ -891,6 +892,7 @@
name="session_redis_server_port"
type="number"
label="COM_CONFIG_FIELD_REDIS_PORT_LABEL"
description="COM_CONFIG_FIELD_REDIS_PORT_DESC"
showon="session_handler:redis"
min="1"
max="65535"
Expand Down
3 changes: 2 additions & 1 deletion administrator/language/en-GB/com_config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ COM_CONFIG_FIELD_PROXY_PORT_LABEL="Outbound Proxy Port"
COM_CONFIG_FIELD_PROXY_USERNAME_LABEL="Outbound Proxy Username"
COM_CONFIG_FIELD_REDIS_AUTH_LABEL="Redis Server Authentication"
COM_CONFIG_FIELD_REDIS_DB_LABEL="Redis Database"
COM_CONFIG_FIELD_REDIS_HOST_LABEL="Redis Server Host"
COM_CONFIG_FIELD_REDIS_HOST_LABEL="Redis Server Host/Sock"
COM_CONFIG_FIELD_REDIS_PERSISTENT_LABEL="Persistent Redis"
COM_CONFIG_FIELD_REDIS_PORT_DESC="Port discarded if connecting to Redis server over Unix sockets."
COM_CONFIG_FIELD_REDIS_PORT_LABEL="Redis Server Port"
COM_CONFIG_FIELD_SEF_REWRITE_DESC="Apache: Rename htaccess.txt to .htaccess<br>IIS: Rename web.config.txt to web.config"
COM_CONFIG_FIELD_SEF_REWRITE_LABEL="Use URL Rewriting"
Expand Down

0 comments on commit 4e044c8

Please sign in to comment.