Refactor cache driver

This commit is contained in:
Zankaria
2024-02-04 14:45:32 +01:00
committed by Zankaria
parent 7c305f58bf
commit 82ea1815fd
2 changed files with 267 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ class Cache {
self::$cache->select($config['cache']['redis'][3]) or die('cache select failure');
break;
case 'php':
self::$cache = array();
self::$cache = [];
break;
}
}