From 80659b4e87625c87ad40ac7b9d20d83058ffdf34 Mon Sep 17 00:00:00 2001 From: robocoder <anthon.pang@gmail.com> Date: Mon, 26 Jul 2010 04:37:45 +0000 Subject: [PATCH] treat _vti as a prefix to ignore git-svn-id: http://dev.piwik.org/svn/trunk@2692 59fd770c-687e-43c8-a1e3-f5a4ff64c105 --- plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php b/plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php index 2bdd4180c1..203feeec5c 100644 --- a/plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php +++ b/plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php @@ -228,7 +228,7 @@ class PhpSecInfo //echo "<pre>"; echo print_r($test_root, true); echo "</pre>"; while (false !== ($entry = $test_root->read())) { - if ( is_dir($test_root->path.DIRECTORY_SEPARATOR.$entry) && !preg_match('~^(\.(.*)|_vti_cnf)$~', $entry) ) { + if ( is_dir($test_root->path.DIRECTORY_SEPARATOR.$entry) && !preg_match('~^(\.|_vti)(.*)$~', $entry) ) { $test_dirs[] = $entry; } } -- GitLab