diff options
author | MateBartus <mate.bartus@gmail.com> | 2015-06-02 21:56:27 +0200 |
---|---|---|
committer | Mate Bartus <mate.bartus@gmail.com> | 2015-07-08 01:27:59 +0200 |
commit | 37b0134aa437e3e874464d3cf0d29c34a8da184a (patch) | |
tree | d088a06b34ef3cea896f0366a7766124415c360b /phpBB/install/controller/install.php | |
parent | 4df89d88486faa0c70473271c6ba757d5faab851 (diff) | |
download | forums-37b0134aa437e3e874464d3cf0d29c34a8da184a.tar forums-37b0134aa437e3e874464d3cf0d29c34a8da184a.tar.gz forums-37b0134aa437e3e874464d3cf0d29c34a8da184a.tar.bz2 forums-37b0134aa437e3e874464d3cf0d29c34a8da184a.tar.xz forums-37b0134aa437e3e874464d3cf0d29c34a8da184a.zip |
[ticket/13740] Add backend support for install progress tracking
PHPBB3-13740
Diffstat (limited to 'phpBB/install/controller/install.php')
-rw-r--r-- | phpBB/install/controller/install.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/install/controller/install.php b/phpBB/install/controller/install.php index 12bc575b83..4021c5625b 100644 --- a/phpBB/install/controller/install.php +++ b/phpBB/install/controller/install.php @@ -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) { |