Skip to content

Commit

Permalink
Fix notice
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Feb 12, 2014
1 parent a3c01d6 commit 9e9f1f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/Plugin/ControllerAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ public static function disableEacceleratorIfEnabled()
private static function notifyIfEAcceleratorIsUsed()
{
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.
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->context = Notification::CONTEXT_WARNING;
Expand Down

0 comments on commit 9e9f1f8

Please sign in to comment.