Skip to content

Commit 139ac8f

Browse files
committed
Bind prefixes and app_path defaults
1 parent 1c6d606 commit 139ac8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Sentry/SentryBundle/DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function getConfigTreeBuilder()
2323
$rootNode
2424
->children()
2525
->scalarNode('app_path')
26-
->defaultNull()
26+
->defaultValue('%kernel.root_dir%')
2727
->end()
2828
->scalarNode('client')
2929
->defaultValue('Sentry\SentryBundle\SentrySymfonyClient')
@@ -48,7 +48,7 @@ public function getConfigTreeBuilder()
4848
->arrayNode('prefixes')
4949
->prototype('scalar')->end()
5050
->treatNullLike(array())
51-
->defaultValue(array())
51+
->defaultValue(array('%kernel.root_dir%/..'))
5252
->end()
5353
->end()
5454
;

0 commit comments

Comments
 (0)