From 32e738031d64488df3dafcc61614ca0432af8c83 Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Thu, 20 Apr 2006 11:37:58 +0000 Subject: [PATCH] Log the install to the admin log git-svn-id: file:///svn/phpbb/trunk@5807 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_install.php | 3 +++ phpBB/language/en/acp/common.php | 1 + 2 files changed, 4 insertions(+) diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 4d7a032137..ffc42e597f 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -1105,6 +1105,9 @@ class install_install extends module $messenger->send(NOTIFY_EMAIL); } + // And finally, add a note to the log + add_log('admin', 'LOG_INSTALL_INSTALLED', $config['version']); + $template->assign_vars(array( 'TITLE' => $lang['INSTALL_CONGRATS'], 'BODY' => sprintf($lang['INSTALL_CONGRATS_EXPLAIN'], '', ''), diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php index 16139b60ac..fb9ad7245d 100644 --- a/phpBB/language/en/acp/common.php +++ b/phpBB/language/en/acp/common.php @@ -441,6 +441,7 @@ $lang = array_merge($lang, array( 'LOG_INDEX_ACTIVATE' => 'Activated inactive users
» %s', 'LOG_INDEX_DELETE' => 'Deleted inactive users
» %s', 'LOG_INDEX_REMIND' => 'Sent reminder emails to inactive users
» %s', + 'LOG_INSTALL_INSTALLED' => 'Installed phpBB %s', 'LOG_JAB_CHANGED' => 'Jabber account changed', 'LOG_JAB_PASSCHG' => 'Jabber password changed',