功能(文档预览):集成 ONLYOFFICE 安全只读预览与工作台体验
新增 ONLYOFFICE 配置签名、内部内容接口、容器编排与反向代理。 打通网页端和桌面端独立预览工作区,完善文档入口、布局及帮助体验。 补充桌面安全发布门禁、开发脚本、使用文档和前后端测试。
This commit is contained in:
+1
-1
@@ -525,7 +525,7 @@ ctms_upsert_env_value() {
|
||||
local key="$1" value="$2"
|
||||
local temp_file
|
||||
temp_file="$(mktemp "$CTMS_ROOT_DIR/.env.tmp.XXXXXX")"
|
||||
if [[ -f "$CTMS_ENV_FILE" && -n "$(ctms_read_env_value "$key" || true)" ]]; then
|
||||
if ctms_env_has_key "$key"; then
|
||||
awk -v key="$key" -v value="$value" '
|
||||
BEGIN { prefix = key "=" }
|
||||
index($0, prefix) == 1 { print key "=" value; next }
|
||||
|
||||
Reference in New Issue
Block a user