aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-04-20 11:37:58 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-04-20 11:37:58 +0000
commit32e738031d64488df3dafcc61614ca0432af8c83 (patch)
tree5c45931411d95188ed462556f6b9b75348c18c51 /phpBB
parentb3a6c67d55bddc9d79f529f682c64d762c5d8fe0 (diff)
downloadforums-32e738031d64488df3dafcc61614ca0432af8c83.tar
forums-32e738031d64488df3dafcc61614ca0432af8c83.tar.gz
forums-32e738031d64488df3dafcc61614ca0432af8c83.tar.bz2
forums-32e738031d64488df3dafcc61614ca0432af8c83.tar.xz
forums-32e738031d64488df3dafcc61614ca0432af8c83.zip
Log the install to the admin log
git-svn-id: file:///svn/phpbb/trunk@5807 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rwxr-xr-xphpBB/install/install_install.php3
-rw-r--r--phpBB/language/en/acp/common.php1
2 files changed, 4 insertions, 0 deletions
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'], '<a href="../docs/README.html" target="_blank">', '</a>'),
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' => '<b>Activated inactive users</b><br />&#187; %s',
'LOG_INDEX_DELETE' => '<b>Deleted inactive users</b><br />&#187; %s',
'LOG_INDEX_REMIND' => '<b>Sent reminder emails to inactive users</b><br />&#187; %s',
+ 'LOG_INSTALL_INSTALLED' => '<b>Installed phpBB %s</b>',
'LOG_JAB_CHANGED' => '<b>Jabber account changed</b>',
'LOG_JAB_PASSCHG' => '<b>Jabber password changed</b>',