gut local caching in PHP instance

This commit is contained in:
Spine
2023-02-01 03:42:31 +00:00
parent 69d390bd25
commit 3ae02f3602
59 changed files with 273 additions and 472 deletions

View File

@@ -121,11 +121,6 @@ if ($Viewer) {
error_reporting(E_ALL);
}
// Change necessary triggers in external components
if ($Viewer->permitted('admin_clear_cache')) {
$Cache->enableCacheClear();
}
// Because we <3 our staff
if ($Viewer->permitted('site_disable_ip_history')) {
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';