mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 12:53:00 -05:00
Herman's web interface fixes
This commit is contained in:
@@ -405,12 +405,12 @@ int config_read(char *file) {
|
||||
config.mp3dir=strdup(path_buffer);
|
||||
|
||||
if(config.dbdir) {
|
||||
DPRINTF(E_LOG,L_MISC,"You are using db_dir rather than "
|
||||
"db_type/db_parms. This will stop working at "
|
||||
"some point. Please fix your config\n");
|
||||
realpath(config.dbdir,path_buffer);
|
||||
free(config.dbdir);
|
||||
config.dbdir=strdup(path_buffer);
|
||||
DPRINTF(E_LOG,L_MISC,"You are using db_dir rather than "
|
||||
"db_type/db_parms. This will stop working at "
|
||||
"some point. Please fix your config\n");
|
||||
realpath(config.dbdir,path_buffer);
|
||||
free(config.dbdir);
|
||||
config.dbdir=strdup(path_buffer);
|
||||
}
|
||||
|
||||
|
||||
@@ -913,6 +913,8 @@ void config_emit_service_status(WS_CONNINFO *pwsc, void *value, char *arg) {
|
||||
|
||||
ws_writefd(pwsc,"</table>\n");
|
||||
|
||||
ws_writefd(pwsc,"<br />\n");
|
||||
|
||||
ws_writefd(pwsc,"<table>\n");
|
||||
ws_writefd(pwsc,"<tr>\n");
|
||||
ws_writefd(pwsc," <th>Uptime</th>\n");
|
||||
|
||||
Reference in New Issue
Block a user