From e31c1fe0f81f82d0c49aa7f232748b0ee103dc01 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 8 Mar 2018 21:46:09 -0700 Subject: [PATCH] Update user_dashboard.php --- core/user_settings/user_dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/user_settings/user_dashboard.php b/core/user_settings/user_dashboard.php index 7e7b9a8291..d92c7b53c0 100644 --- a/core/user_settings/user_dashboard.php +++ b/core/user_settings/user_dashboard.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2017 + Portions created by the Initial Developer are Copyright (C) 2008-2018 the Initial Developer. All Rights Reserved. Contributor(s): @@ -940,7 +940,7 @@ $hud[$n]['html'] .= "".$text['label-system_status'].""; //disk usage - if (stristr(PHP_OS, 'Linux')) { + if (PHP_OS == 'FreeBSD' || PHP_OS == 'Linux') { $df = shell_exec("/usr/bin/which df"); if($df){ $tmp = shell_exec($df." /home 2>&1");