diff --git a/src/Symfony/Framework/WebBundle/Resources/skeleton/web/front_controller.php b/src/Symfony/Framework/WebBundle/Resources/skeleton/web/front_controller.php index c22c86626f..005c441be6 100644 --- a/src/Symfony/Framework/WebBundle/Resources/skeleton/web/front_controller.php +++ b/src/Symfony/Framework/WebBundle/Resources/skeleton/web/front_controller.php @@ -3,4 +3,4 @@ require_once __DIR__.'/../{{ application }}/{{ class }}Kernel.php'; $kernel = new {{ class }}Kernel('prod', false); -$kernel->handler()->send(); +$kernel->handle()->send(); diff --git a/src/Symfony/Framework/WebBundle/Resources/skeleton/web/front_controller_debug.php b/src/Symfony/Framework/WebBundle/Resources/skeleton/web/front_controller_debug.php index c2a220df0e..c91d51c48e 100644 --- a/src/Symfony/Framework/WebBundle/Resources/skeleton/web/front_controller_debug.php +++ b/src/Symfony/Framework/WebBundle/Resources/skeleton/web/front_controller_debug.php @@ -10,4 +10,4 @@ if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1'))) require_once __DIR__.'/../{{ application }}/{{ class }}Kernel.php'; $kernel = new {{ class }}Kernel('dev', true); -$kernel->handler()->send(); +$kernel->handle()->send();