mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
misc up
This commit is contained in:
@@ -4,7 +4,8 @@ $passkey = $_GET['passkey'] ?? $CURUSER['passkey'] ?? '';
|
||||
if (!$passkey) {
|
||||
die("require passkey");
|
||||
}
|
||||
$cacheKey = "nexus_rss:$passkey:" . md5(http_build_query($_GET));
|
||||
unset($_GET['passkey']);
|
||||
$cacheKey = "nexus_rss:" . md5(http_build_query($_GET));
|
||||
$cacheData = \Nexus\Database\NexusDB::cache_get($cacheKey);
|
||||
if ($cacheData && nexus_env('APP_ENV') != 'local') {
|
||||
do_log("rss get from cache");
|
||||
|
||||
Reference in New Issue
Block a user