added exception_controller config option
This commit is contained in:
parent
afad113297
commit
44e6a5d45f
@ -28,6 +28,7 @@ class Configuration
|
||||
->scalarNode('charset')->end()
|
||||
->scalarNode('document_root')->end()
|
||||
->scalarNode('error_handler')->end()
|
||||
->scalarNode('exception_controller')->end()
|
||||
->scalarNode('ide')->end()
|
||||
->booleanNode('test')->end()
|
||||
;
|
||||
|
@ -78,6 +78,10 @@ class FrameworkExtension extends Extension
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($config['exception_controller'])) {
|
||||
$container->setParameter('exception_listener.controller', $config['exception_controller']);
|
||||
}
|
||||
|
||||
if (isset($config['ide'])) {
|
||||
$patterns = array(
|
||||
'textmate' => 'txmt://open?url=file://%%f&line=%%l',
|
||||
|
Reference in New Issue
Block a user