mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
Boot CLI application before run
This commit is contained in:
@@ -65,6 +65,8 @@ class CLI extends Application
|
|||||||
*/
|
*/
|
||||||
public function runCLI($interactive = false)
|
public function runCLI($interactive = false)
|
||||||
{
|
{
|
||||||
|
$this->boot();
|
||||||
|
|
||||||
$app = $this['console'];
|
$app = $this['console'];
|
||||||
if ($interactive) {
|
if ($interactive) {
|
||||||
$app = new Console\Shell($app);
|
$app = new Console\Shell($app);
|
||||||
|
Reference in New Issue
Block a user