diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2015-02-06 17:12:43 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2015-02-06 17:12:43 +0100 |
commit | 675d5b44db48e314f1224b4056ac5c3d2c236a9e (patch) | |
tree | ce6da0f696fe11e45d668fac39e6e1b51b92d505 | |
parent | ec04db6f1e865c3fbc4faa33e7918c2d2038b187 (diff) | |
download | skin-flatplus-675d5b44db48e314f1224b4056ac5c3d2c236a9e.tar.gz skin-flatplus-675d5b44db48e314f1224b4056ac5c3d2c236a9e.tar.bz2 |
[fix] weather widget update_weather.php - config file path
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | widgets/weather/update_weather.php | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,12 +1,13 @@ VDR Plugin 'skinflatplus' Revision History --------------------------------------- -2014-XX-XX: Version 0.5.1 +2015-XX-XX: Version 0.5.1 - [fix] topbar number recordings - [fix] recording menu, total count size - [fix] timer widget - [fix] only draw widgets if enabled - [fix] stop dimm on pause when jump between marks +- [fix] weather widget update_weather.php - config file path - [update] timer widget new options to select which timer to show (recording, active) diff --git a/widgets/weather/update_weather.php b/widgets/weather/update_weather.php index a2294906..fba7de9e 100644 --- a/widgets/weather/update_weather.php +++ b/widgets/weather/update_weather.php @@ -1,8 +1,9 @@ <?php -$ini_array = parse_ini_file("./update_weather.config"); +$config = dirname(__FILE__)."/update_weather.config"; +$ini_array = parse_ini_file($config); -$latitude = $ini_array['Latitude']; +$latitude = $ini_array['Latitude']; $longitude = $ini_array['Longitude']; $locationSkin = $ini_array['LocationSkin']; $units = $ini_array['Units']; |