mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-09-20 23:55:58 +08:00
style: 修改网站提示 (#1871)
This commit is contained in:
parent
e0f15ca783
commit
fc57256197
|
@ -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',
|
||||
|
|
|
@ -1341,7 +1341,6 @@ const message = {
|
|||
current: '當前',
|
||||
rewriteHelper: '若設置偽靜態後,網站無法正常訪問,請嘗試設置回default',
|
||||
runDir: '運行目錄',
|
||||
runDirHelper: '部分程序需要指定二級目錄作為運行目錄,如ThinkPHP5,Laravel',
|
||||
runUserHelper:
|
||||
'通過 PHP 運行環境部署的網站,需要將 index 和子目錄下的所有文件、文件夾所有者和用戶組設置為 1000',
|
||||
userGroup: '運行用戶/組',
|
||||
|
|
|
@ -1341,7 +1341,6 @@ const message = {
|
|||
current: '当前',
|
||||
rewriteHelper: '若设置伪静态后,网站无法正常访问,请尝试设置回default',
|
||||
runDir: '运行目录',
|
||||
runDirHelper: '部分程序需要指定二级目录作为运行目录,如ThinkPHP5,Laravel',
|
||||
runUserHelper:
|
||||
'通过 PHP 运行环境部署的网站,需要将 index 和子目录下的所有文件、文件夹所有者和用户组设置为 1000',
|
||||
userGroup: '运行用户/组',
|
||||
|
@ -1425,7 +1424,7 @@ const message = {
|
|||
disableFunction: '禁用函数',
|
||||
disableFunctionHelper: '输入要禁用的函数,例如exec,多个请用,分割',
|
||||
uploadMaxSize: '上传限制',
|
||||
indexHelper: '为保障 PHP 网站正常运行,请将代码放置于 index 目录,并避免重命名',
|
||||
indexHelper: '为保障 PHP 网站正常运行,请将代码放置于主目录下的 index 目录,并避免重命名',
|
||||
},
|
||||
nginx: {
|
||||
serverNamesHashBucketSizeHelper: '服务器名字的hash表大小',
|
||||
|
|
|
@ -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 />
|
||||
|
|
Loading…
Reference in a new issue