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

refs #1760, refs #1573 - undo change to index.php; integrator has to wrap this...

refs #1760, refs #1573 - undo change to index.php; integrator has to wrap this in their own try...catch

git-svn-id: http://dev.piwik.org/svn/trunk@3242 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent 457a5c25
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -55,18 +55,7 @@ if(!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER)
if(!defined('PIWIK_ENABLE_DISPATCH') || PIWIK_ENABLE_DISPATCH)
{
try {
$controller = Piwik_FrontController::getInstance();
$controller->init();
$controller->dispatch();
} catch (Exception $e) {
if(!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER)
{
throw $e;
}
else
{
error_log($e->getMessage(), 0);
}
}
$controller = Piwik_FrontController::getInstance();
$controller->init();
$controller->dispatch();
}
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