phpBB

Code Changes

File: bin/phpbbcli.php

  Unmodified   Added   Modified   Removed
Line 84Line 84
$user->data['user_id'] = ANONYMOUS;
$user->ip = '127.0.0.1';


$user->data['user_id'] = ANONYMOUS;
$user->ip = '127.0.0.1';


$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $language);

$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $language, $config);

$application->setDispatcher($phpbb_container->get('dispatcher'));
$application->register_container_commands($phpbb_container->get('console.command_collection'));
$application->run($input);

$application->setDispatcher($phpbb_container->get('dispatcher'));
$application->register_container_commands($phpbb_container->get('console.command_collection'));
$application->run($input);