mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +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:
@@ -38,7 +38,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);
|
||||
|
||||
$mode = (isset($_GET['mode'])) ? $_GET['mode'] : '';
|
||||
|
||||
@@ -260,7 +259,7 @@ switch($mode)
|
||||
ob_end_clean();
|
||||
}
|
||||
|
||||
add_admin_log('log_db_backup');
|
||||
add_log('admin', 'log_db_backup');
|
||||
|
||||
if (empty($store_path))
|
||||
{
|
||||
@@ -373,7 +372,7 @@ switch($mode)
|
||||
}
|
||||
}
|
||||
|
||||
add_admin_log('log_db_restore');
|
||||
add_log('admin', 'log_db_restore');
|
||||
|
||||
trigger_error($user->lang['Restore_success']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user