From 583498febb9ff52ce9625feb5b0e69baabe4b050 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 12 Dec 2015 10:34:52 -0700 Subject: [PATCH] Remove an extra round bracket. --- app/system/system.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/system/system.php b/app/system/system.php index 49887f1d11..67bb23a234 100644 --- a/app/system/system.php +++ b/app/system/system.php @@ -88,7 +88,7 @@ $document['title'] = $text['title-sys-status']; $git_path = normalize_path_to_os($_SERVER["DOCUMENT_ROOT"]."/.git"); if(file_exists($git_path)){ $git_exe = 'git'; - if (strtoupper(substr(PHP_OS, 0, 3)) === 'SUN') { $git_exe = shell_exec('which git')); } + if (strtoupper(substr(PHP_OS, 0, 3)) === 'SUN') { $git_exe = shell_exec('which git'); } $git_branch = shell_exec($git_exe.' --git-dir='.$git_path.' name-rev --name-only HEAD'); rtrim($git_branch); $git_commit = shell_exec($git_exe.' --git-dir='.$git_path.' rev-parse HEAD');