This commit is contained in:
Jay 2017-03-23 16:42:12 +08:00
parent 7255b3fdd2
commit 33872d0f92
4 changed files with 52 additions and 153198 deletions

View File

@ -6,7 +6,7 @@
"perpage": 10, "perpage": 10,
"leone_limie": 40, "leone_limie": 40,
"db": { "db": {
"user": "webio", "user": "root",
"pass": "16055536", "pass": "16055536",
"host": "localhost", "host": "localhost",
"port": "3306", "port": "3306",

View File

@ -7,6 +7,7 @@ class database {
this._host = ''; this._host = '';
this._port = 3306; this._port = 3306;
this._database = ''; this._database = '';
this._socketPath = '/var/lib/mysql/mysql.sock'
this._con = null; this._con = null;
this.autoclose = false; this.autoclose = false;
} }
@ -18,7 +19,8 @@ class database {
password: this._password, password: this._password,
host: this._host, host: this._host,
database: this._database, database: this._database,
port: this._port port: this._port,
socketPath: this._socketPath
}); });
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long