Skip to content

Commit

Permalink
Merge pull request #105 from symfony-cmf/fix_non_root_bugs
Browse files Browse the repository at this point in the history
[WIP] Fixed bugs when Symfony is not in the root
  • Loading branch information
dbu committed May 5, 2014
2 parents cdd9c03 + be0be16 commit 3c49bc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function getConfigTreeBuilder()
->end()
->scalarNode('stanbol_url')->defaultValue('http://dev.iks-project.eu:8081')->end()
->booleanNode('fixed_toolbar')->defaultTrue()->end()
->scalarNode('editor_base_path')->defaultValue('/bundles/cmfcreate/vendor/ckeditor/')->end()
->scalarNode('editor_base_path')->defaultValue('bundles/cmfcreate/vendor/ckeditor/')->end()
->arrayNode('plain_text_types')
->useAttributeAsKey('name')
->prototype('scalar')->end()
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/includejsfiles-ckeditor.html.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% include "CmfCreateBundle::includejsfiles-create.html.twig" %}

<script>window.CKEDITOR_BASEPATH = '{{ cmfCreateEditorBasePath }}';</script>
<script>window.CKEDITOR_BASEPATH = '{{ asset(cmfCreateEditorBasePath) }}';</script>
{% javascripts output="/js/ckeditor.js"
'@CmfCreateBundle/Resources/public/vendor/ckeditor/ckeditor.js'
'@CmfCreateBundle/Resources/public/js/init-create-ckeditor.js'
Expand Down

0 comments on commit 3c49bc0

Please sign in to comment.