diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 871a8c983..7f9432ac7 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -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', diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index bbc44dcfd..c8e653015 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -1341,7 +1341,6 @@ const message = { current: '當前', rewriteHelper: '若設置偽靜態後,網站無法正常訪問,請嘗試設置回default', runDir: '運行目錄', - runDirHelper: '部分程序需要指定二級目錄作為運行目錄,如ThinkPHP5,Laravel', runUserHelper: '通過 PHP 運行環境部署的網站,需要將 index 和子目錄下的所有文件、文件夾所有者和用戶組設置為 1000', userGroup: '運行用戶/組', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index e1b112ecb..f3a8e14e9 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -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表大小', diff --git a/frontend/src/views/website/website/config/basic/site-folder/index.vue b/frontend/src/views/website/website/config/basic/site-folder/index.vue index 6268c60d4..23dcf4a22 100644 --- a/frontend/src/views/website/website/config/basic/site-folder/index.vue +++ b/frontend/src/views/website/website/config/basic/site-folder/index.vue @@ -14,6 +14,9 @@ + + {{ $t('php.indexHelper') }} + @@ -50,9 +53,7 @@