mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
fix exam exit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.1');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-04-21');
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.2');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-04-29');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
@@ -1070,8 +1070,12 @@ function clear_inbox_count_cache($uid)
|
||||
function clear_agent_allow_deny_cache()
|
||||
{
|
||||
do_log("clear_agent_allow_deny_cache");
|
||||
\Nexus\Database\NexusDB::cache_del("all_agent_allows");
|
||||
\Nexus\Database\NexusDB::cache_del("all_agent_denies");
|
||||
$allowCacheKey = nexus_env("CACHE_KEY_AGENT_ALLOW", "all_agent_allows");
|
||||
$denyCacheKey = nexus_env("CACHE_KEY_AGENT_DENY", "all_agent_denies");
|
||||
foreach (["", ":php", ":go"] as $suffix) {
|
||||
\Nexus\Database\NexusDB::cache_del($allowCacheKey . $suffix);
|
||||
\Nexus\Database\NexusDB::cache_del($denyCacheKey . $suffix);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user