Updated HOME prefix

This commit is contained in:
Henry Whitaker
2020-08-03 11:46:03 +01:00
parent 538305470d
commit be5d1fa2ef
4 changed files with 29 additions and 110 deletions

View File

@@ -80,7 +80,7 @@ class SpeedtestHelper {
$server = SettingsHelper::get('server')['value'];
$binPath = app_path() . DIRECTORY_SEPARATOR . 'Bin' . DIRECTORY_SEPARATOR . 'speedtest';
$homePrefix = 'HOME=' . base_path() . '/ && ';
$homePrefix = config('speedtest.home') . ' && ';
if($server != '' && $server != false) {
$server = explode(',', $server);