Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2010-07-26 08:37:45 +0400
committerrobocoder <anthon.pang@gmail.com>2010-07-26 08:37:45 +0400
commit80659b4e87625c87ad40ac7b9d20d83058ffdf34 (patch)
treefb76e266b3bf74fb259680a8cbed9621842d5308 /plugins/SecurityInfo/PhpSecInfo
parent07ee7330f7fdcb6ffc63a1cc88143bb4ccef4d47 (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.php2
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;
}
}