1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

- some bugfixes

- using E_USER_WARNING if an error occurred within the ACP (sadly not able to use it as a default for trigger_error - it seems to be hardcoded in PHP)


git-svn-id: file:///svn/phpbb/trunk@6320 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-08-28 15:50:33 +00:00
parent 902285684d
commit 1d37b69ddd
41 changed files with 296 additions and 194 deletions

View File

@@ -113,7 +113,7 @@ class acp_database
if (!$fp)
{
trigger_error('Unable to write temporary file to storage folder');
trigger_error('Unable to write temporary file to storage folder', E_USER_ERROR);
}
}
@@ -1194,7 +1194,7 @@ class acp_database
if (!(file_exists($file_name) && is_readable($file_name)))
{
trigger_error($user->lang['BACKUP_INVALID']);
trigger_error($user->lang['BACKUP_INVALID'], E_USER_WARNING);
}
if ($delete)