Piwik\Plugin\ControllerAdmin::notifyIfEAcceleratorIsUsed PHP Метод

notifyIfEAcceleratorIsUsed() приватный статический Метод

private static notifyIfEAcceleratorIsUsed ( )
    private static function notifyIfEAcceleratorIsUsed()
    {
        $isEacceleratorUsed = ini_get('eaccelerator.enable');
        if (empty($isEacceleratorUsed)) {
            return;
        }
        $message = sprintf("You are using the PHP accelerator & optimizer eAccelerator which is known to be not compatible with Piwik.\n            We have disabled eAccelerator, which might affect the performance of Piwik.\n            Read the %srelated ticket%s for more information and how to fix this problem.", '<a rel="noreferrer" target="_blank" href="https://github.com/piwik/piwik/issues/4439">', '</a>');
        $notification = new Notification($message);
        $notification->context = Notification::CONTEXT_WARNING;
        $notification->raw = true;
        Notification\Manager::notify('ControllerAdmin_EacceleratorIsUsed', $notification);
    }