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:32:28 +0400
committerrobocoder <anthon.pang@gmail.com>2010-07-26 08:32:28 +0400
commit07ee7330f7fdcb6ffc63a1cc88143bb4ccef4d47 (patch)
tree22c6579058d740515ef6120e312cc9fabaaecf18 /plugins/SecurityInfo/PhpSecInfo
parentfb5504f8ae9303fe9ae6842db0dfe774cc90739a (diff)
ignore Frontpage extensions directories, _vti_cnf
git-svn-id: http://dev.piwik.org/svn/trunk@2691 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 e12a057433..2bdd4180c1 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('|^\.(.*)$|', $entry) ) {
+ if ( is_dir($test_root->path.DIRECTORY_SEPARATOR.$entry) && !preg_match('~^(\.(.*)|_vti_cnf)$~', $entry) ) {
$test_dirs[] = $entry;
}
}