Skip to content

Commit

Permalink
Fix: missing const in twig due to incorrect class name
Browse files Browse the repository at this point in the history
  • Loading branch information
Volmarg committed Sep 12, 2020
1 parent 79be713 commit 6fc9866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/core/galleries/lightgallery.html.twig
@@ -1,11 +1,11 @@
{% set my_files_controller = 'App\\Controller\\Modules\\Images\\MyImagesController' %}
{% set imageResizer = 'App\\Services\\Files\\ImageResizer' %}
{% set imageHandler = 'App\\Services\\Files\\ImageHandler' %}
{% set FileTagger = 'App\\Services\\Files\\FileTagger' %}

{% set KEY_FILE_FULL_PATH = constant(my_files_controller~"::KEY_FILE_FULL_PATH") %}
{% set KEY_FILE_NAME = constant(my_files_controller~"::KEY_FILE_NAME") %}
{% set KEY_TAGS = constant(FileTagger~"::KEY_TAGS") %}
{% set KEY_MINIATURE_PATH = constant(imageResizer~"::KEY_MINIATURE_PATH") %}
{% set KEY_MINIATURE_PATH = constant(imageHandler~"::KEY_MINIATURE_PATH") %}
{% set bytes_in_mb = 1048576 %}
{% set max_filename_len = 75 %}

Expand Down

0 comments on commit 6fc9866

Please sign in to comment.