style: 修改网站提示 (#1871)

This commit is contained in:
zhengkunwang 2023-08-08 14:44:12 +08:00 committed by GitHub
parent e0f15ca783
commit fc57256197
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 7 deletions

View file

@ -1405,8 +1405,6 @@ const message = {
rewriteHelper:
'If the website cannot be accessed normally after setting pseudo-static, please try to set it back to default',
runDir: 'Run Directory',
runDirHelper:
'Some programs need to specify a secondary directory as the running directory, e.g. ThinkPHP5, Laravel',
runUserHelper:
'For websites deployed through the PHP runtime environment, all files, folder owners, and user groups under the index and subdirectories need to be set to 1000, command: chown -R 1000:1000 index',
userGroup: 'User/Group',

View file

@ -1341,7 +1341,6 @@ const message = {
current: '當前',
rewriteHelper: '若設置偽靜態後網站無法正常訪問請嘗試設置回default',
runDir: '運行目錄',
runDirHelper: '部分程序需要指定二級目錄作為運行目錄如ThinkPHP5Laravel',
runUserHelper:
'通過 PHP 運行環境部署的網站需要將 index 和子目錄下的所有文件文件夾所有者和用戶組設置為 1000',
userGroup: '運行用戶/',

View file

@ -1341,7 +1341,6 @@ const message = {
current: '当前',
rewriteHelper: '若设置伪静态后网站无法正常访问请尝试设置回default',
runDir: '运行目录',
runDirHelper: '部分程序需要指定二级目录作为运行目录如ThinkPHP5Laravel',
runUserHelper:
'通过 PHP 运行环境部署的网站需要将 index 和子目录下的所有文件文件夹所有者和用户组设置为 1000',
userGroup: '运行用户/',
@ -1425,7 +1424,7 @@ const message = {
disableFunction: '禁用函数',
disableFunctionHelper: '输入要禁用的函数例如exec多个请用,分割',
uploadMaxSize: '上传限制',
indexHelper: '为保障 PHP 网站正常运行请将代码放置于 index 目录并避免重命名',
indexHelper: '为保障 PHP 网站正常运行请将代码放置于主目录下的 index 目录并避免重命名',
},
nginx: {
serverNamesHashBucketSizeHelper: '服务器名字的hash表大小',

View file

@ -14,6 +14,9 @@
</el-icon>
</el-button>
</el-space>
<span class="input-help" v-if="configDir">
{{ $t('php.indexHelper') }}
</span>
</el-form-item>
<el-form-item v-if="configDir" :label="$t('website.runDir')">
<el-space wrap>
@ -50,9 +53,7 @@
</el-form>
<el-alert :closable="false" v-if="configDir">
<template #default>
<span class="warnHelper">{{ $t('website.runDirHelper') }}</span>
<span class="warnHelper">{{ $t('website.runUserHelper') }}</span>
<span class="warnHelper">{{ $t('php.indexHelper') }}</span>
</template>
</el-alert>
<br />