]> source.dussan.org Git - nextcloud-server.git/commit
Limit blacklist to php files
authorRichard Clarkson <robert@trash-mail.com>
Thu, 27 Nov 2014 19:26:45 +0000 (20:26 +0100)
committerRichard Clarkson <robert@trash-mail.com>
Thu, 27 Nov 2014 19:26:45 +0000 (20:26 +0100)
commit0d98329cacc52b34d31d77eda6a0cf85fb4e534e
tree99514eea84e0e96034626a89d9fc075df98bfc41
parent05a069c1010b1f76ab1d5ce4bd0395e1ee3405c0
Limit blacklist to php files

During performance optimization I have discovered that the installer scans all files for the blacklisted words. This greatly impacts speed on lower end devices such as the raspberry pie. This commit limits it to PHP files which seems to achieve the desired effect.

I have used the --include option to achieve this, see http://stackoverflow.com/questions/1987926/how-do-i-grep-recursively

This contribution is MIT licensed
lib/private/installer.php