diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-01-15 11:15:56 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-01-15 11:15:56 +0100 |
commit | 295a424fc72a4e810d89a183f43cba3c2a6fee76 (patch) | |
tree | 67f13dd48a6e34be045d2b52bcc976b87cb620b5 /phpBB/bin/phpbbcli.php | |
parent | f979d2c7b2f93bc734ae7b87debb4457f62ea24c (diff) | |
parent | d045822cd8cc2220a2ad3e159e3b688cb4049c12 (diff) | |
download | forums-295a424fc72a4e810d89a183f43cba3c2a6fee76.tar forums-295a424fc72a4e810d89a183f43cba3c2a6fee76.tar.gz forums-295a424fc72a4e810d89a183f43cba3c2a6fee76.tar.bz2 forums-295a424fc72a4e810d89a183f43cba3c2a6fee76.tar.xz forums-295a424fc72a4e810d89a183f43cba3c2a6fee76.zip |
Merge pull request #4117 from Elsensee/ticket/14403
[ticket/14403] Don't expect user_id and user_ip in phpbb\log
Diffstat (limited to 'phpBB/bin/phpbbcli.php')
-rwxr-xr-x | phpBB/bin/phpbbcli.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/bin/phpbbcli.php b/phpBB/bin/phpbbcli.php index ca425ad0c4..239dd3932b 100755 --- a/phpBB/bin/phpbbcli.php +++ b/phpBB/bin/phpbbcli.php @@ -59,6 +59,8 @@ $phpbb_container->get('request')->enable_super_globals(); require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx); $user = $phpbb_container->get('user'); +$user->data['user_id'] = ANONYMOUS; +$user->ip = '127.0.0.1'; $user->add_lang('acp/common'); $user->add_lang('cli'); |