summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'];