File: D:/web/matomo.vdk/tmp/templates_c/b9/b94bd63858e7caed0f8ac5ea70bc4409.php
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @CoreHome/_favicon.twig */
class __TwigTemplate_dd94cc2058367ed26bc77e8c4ce86140 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (((((isset($context["isCustomLogo"]) || array_key_exists("isCustomLogo", $context) ? $context["isCustomLogo"] : (function () { throw new RuntimeError('Variable "isCustomLogo" does not exist.', 1, $this->source); })()) && (isset($context["hasCustomFavicon"]) || array_key_exists("hasCustomFavicon", $context) ? $context["hasCustomFavicon"] : (function () { throw new RuntimeError('Variable "hasCustomFavicon" does not exist.', 1, $this->source); })())) && array_key_exists("customFavicon", $context)) && (isset($context["customFavicon"]) || array_key_exists("customFavicon", $context) ? $context["customFavicon"] : (function () { throw new RuntimeError('Variable "customFavicon" does not exist.', 1, $this->source); })()))) {
// line 2
yield " <link rel=\"shortcut icon\" href=\"";
yield \Piwik\piwik_escape_filter($this->env, (isset($context["customFavicon"]) || array_key_exists("customFavicon", $context) ? $context["customFavicon"] : (function () { throw new RuntimeError('Variable "customFavicon" does not exist.', 2, $this->source); })()), "html", null, true);
yield "\"/>
";
} else {
// line 4
yield " <link rel=\"shortcut icon\" href=\"plugins/CoreHome/images/favicon.png\"/>
<link rel=\"icon\" type='image/png' sizes='256x256' href=\"plugins/CoreHome/images/applogo_256.png\"/>
";
}
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@CoreHome/_favicon.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 46 => 4, 40 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% if isCustomLogo and hasCustomFavicon and customFavicon is defined and customFavicon %}
<link rel=\"shortcut icon\" href=\"{{ customFavicon }}\"/>
{% else %}
<link rel=\"shortcut icon\" href=\"plugins/CoreHome/images/favicon.png\"/>
<link rel=\"icon\" type='image/png' sizes='256x256' href=\"plugins/CoreHome/images/applogo_256.png\"/>
{% endif %}
", "@CoreHome/_favicon.twig", "D:\\web\\matomo.vdk\\plugins\\CoreHome\\templates\\_favicon.twig");
}
}