Add Plus Statistics

Add Plus Statistics
This commit is contained in:
novgorodschi catalin
2026-07-28 08:48:19 +03:00
parent d4a83f3b7b
commit 7642151569
24 changed files with 844 additions and 9 deletions
+7 -1
View File
@@ -209,7 +209,13 @@ function cron_reset_db_caches()
continue;
}
$prop->setAccessible(true);
// Din PHP 8.1 proprietatile private sunt accesibile prin reflectie
// fara acest apel, iar din 8.5 apelul e depreciat si umple
// error_log cu zeci de avertismente la fiecare tick de cron.
// Il pastram doar pentru versiunile vechi, unde chiar e necesar.
if (PHP_VERSION_ID < 80100) {
$prop->setAccessible(true);
}
if (is_array($prop->getValue())) {
$prop->setValue(null, []);