[WebBundle] renamed collectors.xml to profiling.xml
This commit is contained in:
parent
d6a7b43e8a
commit
7db3ef75a0
@ -58,7 +58,7 @@ class WebExtension extends LoaderExtension
|
|||||||
if ($config['profiler']) {
|
if ($config['profiler']) {
|
||||||
if (!$configuration->hasDefinition('profiler')) {
|
if (!$configuration->hasDefinition('profiler')) {
|
||||||
$loader = new XmlFileLoader(__DIR__.'/../Resources/config');
|
$loader = new XmlFileLoader(__DIR__.'/../Resources/config');
|
||||||
$configuration->merge($loader->load('collectors.xml'));
|
$configuration->merge($loader->load('profiling.xml'));
|
||||||
}
|
}
|
||||||
} elseif ($configuration->hasDefinition('profiler')) {
|
} elseif ($configuration->hasDefinition('profiler')) {
|
||||||
$configuration->getDefinition('profiling')->clearAnnotations();
|
$configuration->getDefinition('profiling')->clearAnnotations();
|
||||||
|
Reference in New Issue
Block a user