Initial commit

This commit is contained in:
Ivan Petrov
2025-12-24 19:19:01 +03:00
commit a7097c6178
19493 changed files with 94306 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
$b->admin_page_set("system", "cache", "Управление кешем", array(), "bive_cache_control", false, "bolt");
function bive_cache_control()
{
global $b;
$b->template_load("bive-cache-control/template/panel.php");
}
$b->event_add("bive_clear_cache", "bive_clear_cache");
function bive_clear_cache($args)
{
global $b;
$b->template_cache_remove();
$b->alerts_add("Кеш успешно очищен!", "notice", "b_cache");
$b->router_refresh();
exit();
}