Fixed: KPI access is now under employee permission in back-office

Co-authored-by: Name <sumit201@webkul.in>
This commit is contained in:
shazar rahman
2026-06-12 17:50:59 +05:30
parent a27e55c049
commit 653fdf3f7f
203 changed files with 9719 additions and 1593 deletions

View File

@@ -37,7 +37,8 @@ class CacheFsCore extends Cache
$keys_filename = $this->getFilename(self::KEYS_NAME);
if (@filemtime($keys_filename)) {
$this->keys = unserialize(file_get_contents($keys_filename));
$keys = @unserialize(file_get_contents($keys_filename));
$this->keys = is_array($keys) ? $keys : array();
}
}