diff options
author | robocoder <anthon.pang@gmail.com> | 2010-07-26 08:37:45 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-07-26 08:37:45 +0400 |
commit | 80659b4e87625c87ad40ac7b9d20d83058ffdf34 (patch) | |
tree | fb76e266b3bf74fb259680a8cbed9621842d5308 /plugins/SecurityInfo/PhpSecInfo | |
parent | 07ee7330f7fdcb6ffc63a1cc88143bb4ccef4d47 (diff) |
treat _vti as a prefix to ignore
git-svn-id: http://dev.piwik.org/svn/trunk@2692 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/SecurityInfo/PhpSecInfo')
-rw-r--r-- | plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |