mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-24 21:26:24 +02:00
Move logging functions, change name, add mode + lang var case changes
git-svn-id: file:///svn/phpbb/trunk@3401 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -37,7 +37,6 @@ define('IN_PHPBB', 1);
|
||||
$phpbb_root_path = '../';
|
||||
require($phpbb_root_path . 'extension.inc');
|
||||
require('pagestart.' . $phpEx);
|
||||
require_once($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
|
||||
|
||||
// Get mode
|
||||
$mode = (isset($_REQUEST['mode'])) ? $_REQUEST['mode'] : '';
|
||||
@@ -104,7 +103,7 @@ while ($row = $db->sql_fetchrow($result))
|
||||
|
||||
if (isset($_POST['submit']))
|
||||
{
|
||||
add_admin_log('log_' . $mode . '_config');
|
||||
add_log('admin', 'log_' . $mode . '_config');
|
||||
trigger_error($user->lang['Config_updated']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user