summaryrefslogtreecommitdiffstats
path: root/pts-core
diff options
context:
space:
mode:
Diffstat (limited to 'pts-core')
-rw-r--r--pts-core/functions/pts-functions_system_cpu.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system_cpu.php b/pts-core/functions/pts-functions_system_cpu.php
index 03d3641..7c72550 100644
--- a/pts-core/functions/pts-functions_system_cpu.php
+++ b/pts-core/functions/pts-functions_system_cpu.php
@@ -201,7 +201,9 @@ function hw_cpu_temperature()
if(empty($temp_c))
{
- $temp_c = read_acpi("/thermal_zone/THM0/temperature", "temperature"); // if it is THM0 that is for the CPU, in most cases it should be
+ $temp_c = read_acpi(array(
+ "/thermal_zone/THM0/temperature",
+ "/thermal_zone/TZ00/temperature"), "temperature");
if(($end = strpos($temp_c, ' ')) > 0)
{