Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Nov 2, 2024
1 parent f328696 commit 7482459
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM webdevops/php-nginx:8.2-alpine
FROM webdevops/php-nginx:8.3-alpine

## docker build --build-arg=IN_CHINA=true .
ARG IN_CHINA=false

# 环境变量
ENV SHOWDOC_DOCKER_VERSION 2.5
ENV SHOWDOC_DOCKER_VERSION 2.6
ENV IN_CHINA=${IN_CHINA}

WORKDIR /showdoc_data/html
Expand Down
3 changes: 3 additions & 0 deletions server/Application/Common/Conf/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
'DB_PREFIX' => '', // 数据库表前缀
'DB_CHARSET'=> 'utf8', // 字符集
'DB_DEBUG' => TRUE, // 数据库调试模式 开启后可以记录SQL日志
'DB_PARAMS' => array(
PDO::ATTR_STRINGIFY_FETCHES => true, // 设置为true,强制把数字读取成字符串返回
),
'URL_HTML_SUFFIX' => '',//url伪静态后缀
'URL_MODEL' => 3 ,//URL兼容模式
'URL_ROUTER_ON' => true,
Expand Down

0 comments on commit 7482459

Please sign in to comment.