diff --git a/www/report/ajax_chart.php b/www/report/ajax_chart.php index 6e6ad41507..3304c94305 100644 --- a/www/report/ajax_chart.php +++ b/www/report/ajax_chart.php @@ -27,8 +27,6 @@ $app = new Application(); $event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST); - -$app->initPhrasea($event); $app->addLocale($event); $app->initSession($event); diff --git a/www/report/ajax_info_dashboard.php b/www/report/ajax_info_dashboard.php index a7f3f4bdb0..e19192146b 100644 --- a/www/report/ajax_info_dashboard.php +++ b/www/report/ajax_info_dashboard.php @@ -27,8 +27,6 @@ $app = new Application(); $event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST); - -$app->initPhrasea($event); $app->addLocale($event); $app->initSession($event); diff --git a/www/report/ajax_liste_base.php b/www/report/ajax_liste_base.php index 7e6ba70f02..f874b4f6c4 100644 --- a/www/report/ajax_liste_base.php +++ b/www/report/ajax_liste_base.php @@ -79,7 +79,6 @@ $app = new Application(); $event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST); -$app->initPhrasea($event); $app->addLocale($event); $app->initSession($event); diff --git a/www/report/ajax_table_content.php b/www/report/ajax_table_content.php index c04bb9affb..e8a02f3ff3 100644 --- a/www/report/ajax_table_content.php +++ b/www/report/ajax_table_content.php @@ -59,7 +59,6 @@ $app = new Application(); $event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST); -$app->initPhrasea($event); $app->addLocale($event); $app->initSession($event); diff --git a/www/report/index.php b/www/report/index.php index f241c51440..7e675b5eb5 100644 --- a/www/report/index.php +++ b/www/report/index.php @@ -23,11 +23,10 @@ use Symfony\Component\HttpKernel\Event\GetResponseEvent; require_once __DIR__ . "/../../vendor/autoload.php"; -$app = new Application(); +$app = new Application('dev'); $event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST); -$app->initPhrasea($event); $app->addLocale($event); $app->initSession($event); diff --git a/www/report/report.php b/www/report/report.php index 00a51ac756..d64c8a0dae 100644 --- a/www/report/report.php +++ b/www/report/report.php @@ -26,7 +26,6 @@ $app = new Application(); $event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST); -$app->initPhrasea($event); $app->addLocale($event); $app->initSession($event); $request = http_request::getInstance(); diff --git a/www/report/tab.php b/www/report/tab.php index a8dfddcf8e..c1943e9381 100644 --- a/www/report/tab.php +++ b/www/report/tab.php @@ -60,8 +60,6 @@ $app = new Application(); $event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST); - -$app->initPhrasea($event); $app->addLocale($event); $app->initSession($event);