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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user