1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/13740] Add backend support for install progress tracking

PHPBB3-13740
This commit is contained in:
MateBartus
2015-06-02 21:56:27 +02:00
committed by Mate Bartus
parent 4df89d8848
commit 37b0134aa4
24 changed files with 306 additions and 22 deletions

View File

@@ -85,8 +85,14 @@ class install
$this->iohandler_factory->set_environment('nojs');
}
// Set the appropriate input-output handler
//$this->installer->set_iohandler($this->iohandler_factory->get());
if ($this->request->is_ajax())
{
// @todo: remove this line, and use the above
$this->installer->set_iohandler($this->iohandler_factory->get());
$installer = $this->installer;
$response = new StreamedResponse();
$response->setCallback(function() use ($installer) {