日志升级与缓存修复最终版
This commit is contained in:
@@ -135,6 +135,9 @@ if (!$isLocked && !empty($_POST['action']) && $_POST['action'] === 'install') {
|
||||
. '// --- 访客日志异步写入(ON=队列落库,OFF=同步 INSERT)---' . PHP_EOL
|
||||
. 'define(\'VISITOR_LOG_ASYNC\', \'ON\');' . PHP_EOL
|
||||
. PHP_EOL
|
||||
. '// --- Cookie 域(可选,留空则按 HTTP_HOST 自动推断)---' . PHP_EOL
|
||||
. '// define(\'CLOAK_COOKIE_DOMAIN\', \'.example.com\');' . PHP_EOL
|
||||
. PHP_EOL
|
||||
. '// --- GeoIP 本地国家库(MaxMind GeoLite2 Country)---' . PHP_EOL
|
||||
. 'define(\'CLOAK_GEOIP_ENABLED\', \'ON\');' . PHP_EOL
|
||||
. 'define(\'CLOAK_GEOIP_DB_PATH\', __DIR__ . \'/storage/runtime/c7f2a9e1/cc_idx.dat\');' . PHP_EOL
|
||||
|
||||
Reference in New Issue
Block a user