Merge remote-tracking branch 'origin/php8' into php8

This commit is contained in:
xiaomlove
2025-09-14 00:47:27 +07:00
5 changed files with 17 additions and 0 deletions

View File

@@ -816,6 +816,8 @@ $lang_settings = array
'text_use_challenge_response_authentication_note' => '如果啟用,登錄時將不傳輸明文密碼,建議啟用。未來版本會刪除此配置且啟用此功能。',
'row_complain_enabled' => '啟用申訴',
'row_complain_enabled_note' => '默認: "yes"',
'row_record_announce_logs' => '記錄匯報日誌',
'text_record_announce_logs_note' => '要啓用,請先安裝並啓動 ClickHouse並在 .env 文件中添加配置',
'row_min_size' => '起步體積',
'text_bonus_mini_size' => '要求種子的體積最小爲',
'text_bonus_mini_size_help' => '。小於此體積的種子不參與魔力計算。單位:字節(Byte),如 1 Byte = 1024 KiB。',

View File

@@ -816,6 +816,8 @@ $lang_settings = array
'text_use_challenge_response_authentication_note' => 'If enabled, no plaintext passwords will be transmitted at login, recommended. Future releases will remove this configuration and enable this feature.' ,
'row_complain_enabled' => 'Whether to enable complaints',
'row_complain_enabled_note' => 'default: "yes"',
'row_record_announce_logs' => 'Record reporting logs',
'text_record_announce_logs_note' => 'To enable it, first install and start ClickHouse and add the configuration in the .env file',
'row_min_size' => 'Minimum volume',
'text_bonus_mini_size'=> 'The minimum volume required for torrent is',
'text_bonus_mini_size_help' => '. Torrent size smaller than this volume are not included in the bonus calculation. Unit: bytes (Byte), e.g., 1 Byte = 1024 KiB.',

View File

@@ -2,6 +2,9 @@
require "../include/bittorrent.php";
dbconn();
require_once(get_langfile_path());
loggedinorreturn();
parked();
if ($enablead_advertisement != 'yes')
stderr($lang_adredir['std_error'], $lang_adredir['std_ad_system_disabled']);
$id=$_GET['id'] ?? 0;

View File

@@ -0,0 +1,5 @@
<?php
return [
'content' => 'Modified content',
];

View File

@@ -0,0 +1,5 @@
<?php
return [
'content' => '修改內容',
];