Skip to content
Extraits de code Groupes Projets
Valider 6e51fb01 rédigé par Matthieu Aubry's avatar Matthieu Aubry
Parcourir les fichiers

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
parents 35f85973 e6eb6bc4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -115,7 +115,7 @@ class BatchInsert ...@@ -115,7 +115,7 @@ class BatchInsert
// in this case tableInsertBatch might still work // 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/'; $path = StaticContainer::get('path.tmp') . '/assets/';
} elseif (!Common::stringEndsWith($path, '/')) { } elseif (!Common::stringEndsWith($path, '/')) {
$path .= '/'; $path .= '/';
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter