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
path: root/core
diff options
context:
space:
mode:
authorMatthieu Aubry <matt@piwik.org>2016-02-08 03:17:49 +0300
committerMatthieu Aubry <matt@piwik.org>2016-02-08 03:17:49 +0300
commit6e51fb01bb7ce3ddad0039916aac8338ec6d1825 (patch)
tree4e2fb7c517d5f872126b8ff324247711c29b92e6 /core
parent35f85973d7e9c14f12145d9fcdf7b23f818aa6a3 (diff)
parente6eb6bc4fa3f0e51d9e5ed95ca75657a464176b9 (diff)
Merge pull request #9726 from piwik/9722
Fix warning - is_dir(): open_basedir restriction in effect. File(/var/tmp/) is not within the allowed path
Diffstat (limited to 'core')
-rw-r--r--core/Db/BatchInsert.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Db/BatchInsert.php b/core/Db/BatchInsert.php
index c55d3157b0..84093dca9d 100644
--- a/core/Db/BatchInsert.php
+++ b/core/Db/BatchInsert.php
@@ -115,7 +115,7 @@ class BatchInsert
// in this case tableInsertBatch might still work
}
- if (empty($path) || !is_dir($path) || !is_writable($path)) {
+ if (empty($path) || !@is_dir($path) || !@is_writable($path)) {
$path = StaticContainer::get('path.tmp') . '/assets/';
} elseif (!Common::stringEndsWith($path, '/')) {
$path .= '/';