diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php index f43969691c7..60ed06ae352 100644 --- a/lib/private/installer.php +++ b/lib/private/installer.php @@ -568,7 +568,7 @@ class OC_Installer{ // iterate the bad patterns foreach($blacklist as $bl) { - $cmd = 'grep -ri '.escapeshellarg($bl).' '.$folder.''; + $cmd = 'grep --include \\*.php -ri '.escapeshellarg($bl).' '.$folder.''; $result = exec($cmd); // bad pattern found if($result<>'') { |