mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
update laravel + filament & improve agent deny
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.0');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-03-05');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-03-06');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
@@ -1063,6 +1063,13 @@ 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");
|
||||
}
|
||||
|
||||
|
||||
function user_can($permission, $fail = false, $uid = 0): bool
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user