From 31aa2bfd1bff2739db88ca802ad705fb7a7637f8 Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Wed, 8 Oct 2008 13:17:44 -0400 Subject: pts-core: Add support for ATA-6 hard drives --- pts-core/functions/pts-functions_system_hardware.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pts-core/functions/pts-functions_system_hardware.php') diff --git a/pts-core/functions/pts-functions_system_hardware.php b/pts-core/functions/pts-functions_system_hardware.php index 8eceaec..d26c128 100644 --- a/pts-core/functions/pts-functions_system_hardware.php +++ b/pts-core/functions/pts-functions_system_hardware.php @@ -141,7 +141,7 @@ function system_hard_disks() do { // Calculate disk names - $search_disk_strings = array("ATA-7", "ATA-8"); + $search_disk_strings = array("ATA-6", "ATA-7", "ATA-8"); $start_point = -1; for($i = 0; $i < count($search_disk_strings) && $start_point == -1; $i++) @@ -243,7 +243,7 @@ function system_hard_disks() } if(count($disks) == 0) - $disks = system_disk_total(); + $disks = system_disk_total() . "GB"; else $disks = implode(" + ", $disks); -- cgit