Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/blame/commit/1b55859eb29d22867d8563527ad3d57a67bbc8f4/NzbDrone.SqlCe/SqlCeProxy.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Lidarr/NzbDrone.SqlCe/SqlCeProxy.cs

28 lines
647 B

using System.Data.Common;
using System.Data.SqlServerCe;
using System.IO;
namespace NzbDrone.SqlCe
{
public class SqlCeProxy
{
12 years ago
public SqlCeConnection EnsureDatabase(string connectionString)
{
12 years ago
var connection = new SqlCeConnection(connectionString);
if (!File.Exists(connection.Database))
{
12 years ago
var engine = new SqlCeEngine(connectionString);
engine.CreateDatabase();
}
12 years ago
return connection;
}
public DbProviderFactory GetSqlCeProviderFactory()
{
return new SqlCeProviderFactory();
}
}
}