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

autoloader should not throw exception as it blocks the stacking of autoloaders

git-svn-id: http://dev.piwik.org/svn/trunk@2424 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent 302f4ced
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -72,7 +72,8 @@ class Piwik_Loader ...@@ -72,7 +72,8 @@ class Piwik_Loader
$lastSlash = strrpos($classPath, '/'); $lastSlash = strrpos($classPath, '/');
$classPath = ($lastSlash === false) ? '' : substr($classPath, 0, $lastSlash); $classPath = ($lastSlash === false) ? '' : substr($classPath, 0, $lastSlash);
} }
throw new Exception("$class could not be autoloaded.");
return false;
} }
} }
......
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