diff --git a/index.php b/index.php index ff9cefd..2989abc 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ diff(DateTime::createFromFormat("Y-m-d", "2004-01-15"))->y; - $temp = str_replace("temp=", "", exec("/usr/bin/vcgencmd measure_temp")); + $temp = str_replace(["temp=", "'"], ["", "°"], exec("/usr/bin/vcgencmd measure_temp")); ?>