diff --git a/docker-compose.yml b/docker-compose.yml index fd148df4..83359199 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,9 +7,9 @@ services: network_mode: "host" restart: unless-stopped volumes: - - ${APP_DATA_LOCATION}/pialert2/config:/home/pi/pialert/config + - ${APP_DATA_LOCATION}/pialert/config:/home/pi/pialert/config # - ${APP_DATA_LOCATION}/pialert/db/pialert.db:/home/pi/pialert/db/pialert.db - - ${APP_DATA_LOCATION}/pialert2/db:/home/pi/pialert/db + - ${APP_DATA_LOCATION}/pialert/db:/home/pi/pialert/db # (optional) useful for debugging if you have issues setting up the container - ${LOGS_LOCATION}:/home/pi/pialert/front/log # DELETE START anyone trying to use this file: comment out / delete BELOW lines, they are only for development purposes diff --git a/front/plugins.php b/front/plugins.php index 55f71447..22aa89b5 100755 --- a/front/plugins.php +++ b/front/plugins.php @@ -146,7 +146,7 @@ function localize (obj, key) { } } - result == "" ? en_us : result ; + result == "" ? result = en_us : result ; return result; } @@ -190,6 +190,9 @@ function generateTabs() activetab = 'active' $.each(pluginDefinitions, function(index, obj) { + + // console.log(obj) + $('#tabs-location').append( `