Closed Max101 closed 10 years ago
The base path has to be defined before the javascript include.
Well in that case the "if" could be set around the JS tag in order to prevent unnecessary code. Best wishes, Mitja
Around what tag? I think it's unnecessary.
{% autoescape true js %} script type="text/javascript" var CKEDITOR_BASEPATH = '{{ app.request.basePath ~ '/' ~ base_path }}'; /script {% endautoescape %}
It does not matter that much but Just in case...
Remove not needed JS tag.