mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-26 13:16:14 +01: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:
@@ -163,7 +163,7 @@ switch ($mode)
|
||||
|
||||
@chmod($phpbb_root_path . 'templates/cache/' . $tplroot . '/' . $tplname . '.html.' . $phpEx, 0644);
|
||||
|
||||
add_admin_log('log_template_edit', $tplname, $tplroot);
|
||||
add_log('admin', 'log_template_edit', $tplname, $tplroot);
|
||||
|
||||
exit;
|
||||
}
|
||||
@@ -266,7 +266,7 @@ switch ($mode)
|
||||
WHERE theme_id = $theme_id";
|
||||
$db->sql_query($sql);
|
||||
|
||||
add_admin_log('log_theme_edit', $theme_name);
|
||||
add_log('admin', 'log_theme_edit', $theme_name);
|
||||
|
||||
message_die(MESSAGE, $user->lang['Success_theme_update']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user