mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 15:31:42 +02:00
[ticket/13740] CLI installer and fixes
[ci skip] PHPBB3-13740
This commit is contained in:
committed by
Mate Bartus
parent
524b98e7bd
commit
06f4ebce1b
@@ -59,7 +59,7 @@ class factory
|
||||
*/
|
||||
public function get()
|
||||
{
|
||||
switch ($this->environment)
|
||||
if ($this->container->has('installer.helper.iohandler_' . $this->environment))
|
||||
{
|
||||
case 'ajax':
|
||||
return $this->container->get('installer.helper.iohandler_ajax');
|
||||
@@ -68,9 +68,14 @@ class factory
|
||||
// @todo replace this
|
||||
return $this->container->get('installer.helper.iohandler_ajax');
|
||||
break;
|
||||
case 'cli':
|
||||
return $this->container->get('installer.helper.iohandler_cli');
|
||||
break;
|
||||
default:
|
||||
throw new iohandler_not_implemented_exception();
|
||||
break;
|
||||
}
|
||||
|
||||
throw new iohandler_not_implemented_exception();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user