框架升级及修复升级后的bug
This commit is contained in:
@@ -131,6 +131,10 @@ abstract class AbstractAdapter implements AdapterInterface, CacheInterface, Name
|
||||
return MemcachedAdapter::createConnection($dsn, $options);
|
||||
}
|
||||
if (str_starts_with($dsn, 'couchbase:')) {
|
||||
if (class_exists(\CouchbaseBucket::class) && CouchbaseBucketAdapter::isSupported()) {
|
||||
return CouchbaseBucketAdapter::createConnection($dsn, $options);
|
||||
}
|
||||
|
||||
return CouchbaseCollectionAdapter::createConnection($dsn, $options);
|
||||
}
|
||||
if (preg_match('/^(mysql|oci|pgsql|sqlsrv|sqlite):/', $dsn)) {
|
||||
|
||||
Reference in New Issue
Block a user