mirror of
https://dev.s-ul.net/Galexion/MaiMaiDXNet.git
synced 2024-11-24 02:20:11 +01:00
Final Change to prevent DXMemorialImageDirectory from erroring out server
This commit is contained in:
parent
7ae51a2895
commit
deddb1a039
@ -1,6 +1,9 @@
|
||||
const { serverType, ArtConnSettings, DXMemorialImageDirectory } = require('./config.json');
|
||||
const sqlite3 = require('sqlite3').verbose();
|
||||
const db = new sqlite3.Database(DXMemorialImageDirectory + '\\db.sqlite');
|
||||
var db = undefined;
|
||||
if (serverType === 0) {
|
||||
db = new sqlite3.Database(DXMemorialImageDirectory + '\\db.sqlite');
|
||||
}
|
||||
const mysql = require('mysql');
|
||||
var con = mysql.createConnection(ArtConnSettings)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user