1
0
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:
Paul S. Owen
2003-01-29 17:45:34 +00:00
parent bcd4581f77
commit bb93945423
14 changed files with 69 additions and 153 deletions

View File

@@ -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']);
}