Skip to content

Commit

Permalink
use symfony cache directory - closes #84
Browse files Browse the repository at this point in the history
  • Loading branch information
trsteel88 committed Oct 30, 2014
1 parent f4142af commit 9f595b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DependencyInjection/TrsteelCkeditorExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public function load(array $configs, ContainerBuilder $container)
// Ensure no leading slash on base path
$config['base_path'] = ltrim($config['base_path'], '/');

$config['html_purifier']['config'] = array_merge(array(
'Cache.SerializerPath' => '%kernel.cache_dir%',
), $config['html_purifier']['config']);

$container->setParameter('trsteel_ckeditor.form.type.class', $config['class']);
$container->setParameter('trsteel_ckeditor.html_purifier.config', $config['html_purifier']['config']);
$container->setParameter('trsteel_ckeditor.ckeditor.transformers', $config['transformers']);
Expand Down

0 comments on commit 9f595b7

Please sign in to comment.