Track your 404 errors with Google Tag Manager and Symfony2.
{% block javascripts %}
{{ parent() }}
filter: | |
excluded_paths: | |
- 'app/*' | |
- 'tests/*' | |
- 'bin/*' | |
- '*.min.js' | |
- 'web/assets/vendor/*' | |
- 'var/' | |
checks: |
{% set terms_link %}<a title="{% trans %}Read the General Terms and Conditions{% endtrans %}" href="{{ path('get_general_terms_and_conditions') }}">{% trans %}General Terms and Conditions{% endtrans %}</a>{% endset %} | |
{% set general_terms_and_conditions %}{{ 'I have read and accept the %general_terms_and_conditions%.'|trans({ '%general_terms_and_conditions%': terms_link })|raw }}{% endset %} | |
<div> | |
{{ form_errors(form.acceptGeneralTermsAndConditions) }} | |
{{ form_widget(form.acceptGeneralTermsAndConditions) }} | |
<label for="{{ form.acceptGeneralTermsAndConditions.vars.id }}">{{ general_terms_and_conditions|raw }}</label> | |
</div> |
nelmio_cors: | |
defaults: | |
allow_credentials: false | |
allow_origin: [] | |
allow_headers: [] | |
allow_methods: [] | |
expose_headers: [] | |
max_age: 0 | |
hosts: [] |
rabbitmqctl add_user test test | |
rabbitmqctl set_user_tags test administrator | |
rabbitmqctl set_permissions -p / test ".*" ".*" ".*" |
# conf.d/05-opcache.ini | |
opcache.memory_consumption=1024 | |
opcache.interned_strings_buffer=64 | |
opcache.max_accelerated_files=20000 | |
opcache.revalidate_freq=0 | |
opcache.validate_timestamps=0 | |
opcache.fast_shutdown=1 | |
opcache.enable_cli=1 |
<?php | |
// READ: https://mtxserv.com/forums/threads/api-game-viewer.295/ | |
// Example usage of API Game Viewer (mtxserv.com) | |
$urlToken = 'https://mtxserv.com/oauth/v2/token?'; | |
$urlViewer = 'https://mtxserv.com/api/v1/viewers/game?'; | |
$query = array( | |
'grant_type' => 'https://mtxserv.com/grants/api_key', | |
'client_id' => '', // A Editer |