Required MySQL username

This commit is contained in:
Tobias Reich 2015-02-02 23:33:40 +01:00
parent 6cd79ee169
commit 7b1f95688c

View File

@ -19,6 +19,11 @@ settings.createConfig = function() {
dbTablePrefix = data.dbTablePrefix || '',
params;
if (dbUser.length<1) {
basicModal.error('dbUser');
return false;
}
if (dbHost.length<1) dbHost = 'localhost';
if (dbName.length<1) dbName = 'lychee';