X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FGitInfo.php;h=363d7b8050042e8d5f1fd596292a2219609ab1af;hb=82ffec0c97354a7694eb1758ef943f312ed64f0e;hp=6270b27fdd3382179217016f7b5aaa02de659aea;hpb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/GitInfo.php b/includes/GitInfo.php index 6270b27fdd..363d7b8050 100644 --- a/includes/GitInfo.php +++ b/includes/GitInfo.php @@ -227,6 +227,7 @@ class GitInfo { $date = false; if ( is_file( $wgGitBin ) && is_executable( $wgGitBin ) && + !Shell::isDisabled() && $this->getHead() !== false ) { $cmd = [