Skip to content
Extraits de code Groupes Projets
Valider 9e9f1f88 rédigé par mattab's avatar mattab
Parcourir les fichiers

Fix notice

parent a3c01d60
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -120,10 +120,10 @@ abstract class ControllerAdmin extends Controller ...@@ -120,10 +120,10 @@ abstract class ControllerAdmin extends Controller
private static function notifyIfEAcceleratorIsUsed() private static function notifyIfEAcceleratorIsUsed()
{ {
if (self::$isEacceleratorUsed) { if (self::$isEacceleratorUsed) {
$params = array('<a href="http://dev.piwik.org/trac/ticket/4439">', '</a>');
$message = sprintf("You are using the PHP accelerator & optimizer eAccelerator which is known to be not compatible with Piwik. $message = sprintf("You are using the PHP accelerator & optimizer eAccelerator which is known to be not compatible with Piwik.
We have disabled eAccelerator, which might affect the performance of Piwik. We have disabled eAccelerator, which might affect the performance of Piwik.
Read the %srelated ticket%s for more information and how to fix this problem.", $params); Read the %srelated ticket%s for more information and how to fix this problem.",
'<a target="_blank" href="http://dev.piwik.org/trac/ticket/4439">', '</a>');
$notification = new Notification($message); $notification = new Notification($message);
$notification->context = Notification::CONTEXT_WARNING; $notification->context = Notification::CONTEXT_WARNING;
......
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