Skip to content
Extraits de code Groupes Projets
Valider 302f4ced rédigé par robocoder's avatar robocoder
Parcourir les fichiers

fixes #1461 - refs r2376

git-svn-id: http://dev.piwik.org/svn/trunk@2423 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent d7a45075
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -62,7 +62,7 @@ class Piwik_Http ...@@ -62,7 +62,7 @@ class Piwik_Http
if($destinationPath) if($destinationPath)
{ {
// Ensure destination directory exists // Ensure destination directory exists
Piwik_Common::mkdir($destinationPath); Piwik_Common::mkdir(basedir($destinationPath));
if (($file = @fopen($destinationPath, 'wb')) === false || !is_resource($file)) if (($file = @fopen($destinationPath, 'wb')) === false || !is_resource($file))
{ {
throw new Exception('Error while creating the file: ' . $destinationPath); throw new Exception('Error while creating the file: ' . $destinationPath);
......
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