Skip to content
Extraits de code Groupes Projets
Valider 384e248d rédigé par Fabian Becker's avatar Fabian Becker
Parcourir les fichiers

Another Piwik::log fix in PluginsManager. Not working in tracker mode.

parent e44a1244
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -436,8 +436,9 @@ class Piwik_PluginsManager ...@@ -436,8 +436,9 @@ class Piwik_PluginsManager
if(!file_exists($path)) if(!file_exists($path))
{ {
Piwik::log(sprintf("Unable to load plugin '%s' because '%s' couldn't be found.", $pluginName, $path)); // ToDo: We should log this - but this will crash in Tracker mode since core/Piwik is not loaded
return null; //Piwik::log(sprintf("Unable to load plugin '%s' because '%s' couldn't be found.", $pluginName, $path));
throw new Exception(sprintf("Unable to load plugin '%s' because '%s' couldn't be found.", $pluginName, $path));
} }
// Don't remove this. // Don't remove this.
......
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