summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2015-02-06 17:12:43 +0100
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2015-02-06 17:12:43 +0100
commit675d5b44db48e314f1224b4056ac5c3d2c236a9e (patch)
treece6da0f696fe11e45d668fac39e6e1b51b92d505
parentec04db6f1e865c3fbc4faa33e7918c2d2038b187 (diff)
downloadskin-flatplus-675d5b44db48e314f1224b4056ac5c3d2c236a9e.tar.gz
skin-flatplus-675d5b44db48e314f1224b4056ac5c3d2c236a9e.tar.bz2
[fix] weather widget update_weather.php - config file path
-rw-r--r--HISTORY3
-rw-r--r--widgets/weather/update_weather.php5
2 files changed, 5 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index 906de448..a19bd6f1 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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'];