Files
CLOAK/cong.php
T

33 lines
1021 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
// error_reporting(E_ALL);
// ini_set('display_errors', 1);
define('LOGIN_PASSWORD', 'test123456');
define('DB_USERNAME', 'cloaka_test');
define('DB_NAME', 'cloaka_test');
define('DB_PASSWORD', 'hNeb3phx3QX12fGC');
// --- API 鉴权秘钥(全局通用,对接 tiktokba.com cloak 服务)---
define('CHECK_KEY', 'V6eISi8BsQNua3579ZzTbRwxmlXoJ4MF');
// --- Redis 通用配置(可选)---
define('REDIS_ENABLED', 'ON');
define('REDIS_HOST', '127.0.0.1');
define('REDIS_PORT', 6379);
define('REDIS_TIMEOUT', 1);
define('REDIS_PASSWORD', '');
// --- 访客日志异步写入(ON=队列落库,OFF=同步 INSERT---
define('VISITOR_LOG_ASYNC', 'ON');
define('CLOAK_GEOIP_ENABLED', 'ON');
define('CLOAK_GEOIP_DB_PATH', __DIR__ . '/storage/runtime/c7f2a9e1/cc_idx.dat');
define('CLOAK_GEOIP_CACHE_TTL', 2592000);
// --- Cloudflare(必填;留空则域名仅本地登记,不走 API)---
define('SERVER_IP', '');
define('CLOUDFLARE_API_TOKEN', '');
define('CLOUDFLARE_ACCOUNT_ID', '');