mirror of
https://github.com/beestat/app.git
synced 2026-05-13 10:52:29 -04:00
Fixed #164 - Convert recent activity to chart2
Also: Fixed #177, Fixed #91, Fixed #86, Fixed #40. Big changes.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
// If you're not logged in, just take you directly to the ecobee login page.
|
||||
if(isset($_COOKIE['session_key']) === false) {
|
||||
header('Location: http://' . $_SERVER['HTTP_HOST'] . '/api/?resource=ecobee&method=authorize&arguments={}&api_key=ER9Dz8t05qUdui0cvfWi5GiVVyHP6OB8KPuSisP2');
|
||||
die();
|
||||
}
|
||||
// If you're not logged in, just take you directly to the ecobee login page.
|
||||
if(isset($_COOKIE['session_key']) === false) {
|
||||
header('Location: http://' . $_SERVER['HTTP_HOST'] . '/api/?resource=ecobee&method=authorize&arguments={}&api_key=ER9Dz8t05qUdui0cvfWi5GiVVyHP6OB8KPuSisP2');
|
||||
die();
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user