Move twilight files to static directory, upate weather station

This commit is contained in:
2016-08-03 14:32:14 +02:00
parent e22fead4f8
commit 2943b03844
10 changed files with 3 additions and 3 deletions

6
functions.php Normal file → Executable file
View File

@@ -4,8 +4,8 @@ require_once 'wunderground.php';
define('DEFAULT_WAKE', '7:00');
define('DEFAULT_SLEEP', '19:00');
define('TWILIGHT_FILE', 'data/twilight_%d.csv');
define('STATION', 'INOORDHO4');
define('TWILIGHT_FILE', 'static/twilight_%d.csv');
define('STATION', 'IUITGEES3');
function getHour($sTime = null) {
if (!is_numeric($sTime)) {
@@ -58,4 +58,4 @@ function command($sCommand) {
function clean() {
clearstatcache();
gc_collect_cycles();
}
}