diff --git a/mirzaev/baza/system/database.php b/mirzaev/baza/system/database.php index a3fb4bc..5a9a092 100755 --- a/mirzaev/baza/system/database.php +++ b/mirzaev/baza/system/database.php @@ -495,7 +495,11 @@ class database * * @return int Amount of records */ - public function count(): int{ + public function count(): int + { + // Deleting the database file cache + clearstatcache(true, $this->database); + // Exit (success) return $this->length > 0 && file_exists($this->database) ? filesize($this->database) / $this->length : 0; }