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:
authormattab <matthieu.aubry@gmail.com>2013-10-07 09:36:42 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-07 09:36:42 +0400
commite4f1bdde8409eff228f9377c57a2339c201d34e3 (patch)
treed6d13c61ac5a40b83620007849a251956faf4d43 /core/Filechecks.php
parent4d3527c3dd2aaf5fa388b670120eb48f439fd9e2 (diff)
Refs #4125 Fixes
Diffstat (limited to 'core/Filechecks.php')
-rw-r--r--core/Filechecks.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/Filechecks.php b/core/Filechecks.php
index 893e158d62..1ccb648d19 100644
--- a/core/Filechecks.php
+++ b/core/Filechecks.php
@@ -48,8 +48,7 @@ class Filechecks
$directoryToCheck = SettingsPiwik::rewriteTmpPathWithHostname($directoryToCheck);
// Create an empty directory
- $isFile = strpos($directoryToCheck, '.') !== false;
- if (!$isFile && !file_exists($directoryToCheck)) {
+ if (!file_exists($directoryToCheck)) {
Filesystem::mkdir($directoryToCheck);
}