{#** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *#} {% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% if 'unknown' == collector.symfonyState %} {% set block_status = '' %} {% set symfony_version_status = 'Unable to retrieve information about the Symfony version.' %} {% elseif 'eol' == collector.symfonyState %} {% set block_status = 'red' %} {% set symfony_version_status = 'This Symfony version will no longer receive security fixes.' %} {% elseif 'eom' == collector.symfonyState %} {% set block_status = 'yellow' %} {% set symfony_version_status = 'This Symfony version will only receive security fixes.' %} {% elseif 'dev' == collector.symfonyState %} {% set block_status = 'yellow' %} {% set symfony_version_status = 'This Symfony version is still in the development phase.' %} {% else %} {% set block_status = '' %} {% set symfony_version_status = '' %} {% endif %} {% set icon %} {{ collector.applicationversion }} {% endset %} {% set text %}
{{ collector.applicationname }} {{ collector.applicationversion }}
Profiler token {% if profiler_url %} {{ collector.token }} {% else %} {{ collector.token }} {% endif %}
PHP version {{ collector.phpversion }}   View phpinfo()
PHP Extensions xdebug APCu OPcache
PHP SAPI {{ collector.sapiName }}
Resources {% set appVersion = collector.applicationversion|split('.')|join()[:2] %} Read PrestaShop {{ collector.applicationversion }} Docs
{% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: true, name: 'config', status: block_status, additional_classes: 'sf-toolbar-block-right', block_attrs: 'title="' ~ symfony_version_status ~ '"' }) }} {% endblock %} {% block menu %} {{ include('@WebProfiler/Icon/config.svg') }} Configuration {% endblock %} {% block panel %} {% if collector.applicationname %} {# this application is not the Symfony framework #}

Project Configuration

{{ collector.applicationname }} Application name
{{ collector.applicationversion }} Application version

Based on Symfony {{ collector.symfonyversion }}

{% else %}

Symfony Configuration

{{ collector.symfonyversion }} Symfony version
{% if 'n/a' != collector.appname %}
{{ collector.appname }} Application name
{% endif %} {% if 'n/a' != collector.env %}
{{ collector.env }} Environment
{% endif %} {% if 'n/a' != collector.debug %}
{{ collector.debug ? 'enabled' : 'disabled' }} Debug
{% endif %}
{% set symfony_status = { dev: 'Unstable Version', stable: 'Stable Version', eom: 'Maintenance Ended', eol: 'Version Expired' } %} {% set symfony_status_class = { dev: 'warning', stable: 'success', eom: 'warning', eol: 'error' } %}
Symfony Status Bugs {{ collector.symfonystate in ['eom', 'eol'] ? 'were' : 'are' }} fixed until Security issues {{ collector.symfonystate == 'eol' ? 'were' : 'are' }} fixed until
{{ symfony_status[collector.symfonystate]|upper }} {{ collector.symfonyeom }} {{ collector.symfonyeol }} View roadmap
{% endif %}

PHP Configuration

{{ collector.phpversion }}{% if collector.phpversionextra %} {{ collector.phpversionextra }}{% endif %} PHP version
{{ collector.phparchitecture }} bits Architecture
{{ collector.phpintllocale }} Intl locale
{{ collector.phptimezone }} Timezone
Resources {% set appVersion = collector.applicationversion|split('.')|join()[:2] %} Read PrestaShop {{ collector.applicationversion }} Docs
{{ include('@WebProfiler/Icon/' ~ (collector.haszendopcache ? 'yes' : 'no') ~ '.svg') }} OPcache
{{ include('@WebProfiler/Icon/' ~ (collector.hasapcu ? 'yes' : 'no') ~ '.svg') }} APCu
{{ include('@WebProfiler/Icon/' ~ (collector.hasxdebug ? 'yes' : 'no') ~ '.svg') }} Xdebug

View full PHP configuration

{% if collector.bundles %}

Enabled Bundles ({{ collector.bundles|length }})

{% for name in collector.bundles|keys|sort %} {% endfor %}
Name Path
{{ name }} {{ profiler_dump(collector.bundles[name]) }}
{% endif %} {% endblock %}