Update Core

This commit is contained in:
skx 2020-05-14 17:07:43 +08:00
parent 86d3c13706
commit 98130e7692

View File

@ -253,7 +253,7 @@ namespace SqlSugar
var path = Regex.Match(connString, @"[a-z,A-Z]\:\\.+\\").Value;
if (path.IsNullOrEmpty())
{
path = Regex.Match(connString, @"[a-z,A-Z]\:\/.+\/").Value;
path = Regex.Match(connString, @"\/.+\/").Value;
}
if (!FileHelper.IsExistDirectory(path))
{