From 880e7ccaecd3d018325be05e63770863502bcbae Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Fri, 20 Apr 2018 15:59:43 +0200 Subject: [PATCH] admin/commits: test for popen availability System calls can be disabled in PHP ini. --- admin/commits.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin/commits.php b/admin/commits.php index 11aae67..2543d79 100644 --- a/admin/commits.php +++ b/admin/commits.php @@ -1,4 +1,9 @@ Niet beschikbaar op deze server!

\n"; + return; +} + $pagesize = intval(@$_GET['pagesize']) ?: 20; $gitcmd = "git log -n $pagesize --pretty='%at\t%an\t%s'"; -- 2.30.0