Move twilight files to static directory, upate weather station
This commit is contained in:
4
functions.php
Normal file → Executable file
4
functions.php
Normal file → Executable file
@@ -4,8 +4,8 @@ require_once 'wunderground.php';
|
|||||||
define('DEFAULT_WAKE', '7:00');
|
define('DEFAULT_WAKE', '7:00');
|
||||||
define('DEFAULT_SLEEP', '19:00');
|
define('DEFAULT_SLEEP', '19:00');
|
||||||
|
|
||||||
define('TWILIGHT_FILE', 'data/twilight_%d.csv');
|
define('TWILIGHT_FILE', 'static/twilight_%d.csv');
|
||||||
define('STATION', 'INOORDHO4');
|
define('STATION', 'IUITGEES3');
|
||||||
|
|
||||||
function getHour($sTime = null) {
|
function getHour($sTime = null) {
|
||||||
if (!is_numeric($sTime)) {
|
if (!is_numeric($sTime)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user