회피시도 추가, spl_object_hash를 spl_object_id로 변경
This commit is contained in:
@@ -10,7 +10,7 @@ class KVStorage{
|
||||
static private $storageList = [];
|
||||
|
||||
static public function getStorage(\MeekroDB $db, string $storNamespace, string $tableName='storage'):self{
|
||||
$obj_id = spl_object_hash($db);
|
||||
$obj_id = spl_object_id($db);
|
||||
$fullKey = $obj_id.','.$storNamespace.','.$tableName;
|
||||
if(key_exists($fullKey, static::$storageList)){
|
||||
return static::$storageList[$fullKey];
|
||||
|
||||
Reference in New Issue
Block a user