mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
AjaxHandler
* separated into appropriate subclasses * unified sanitizing of $_GET and $_POST data using build in filter_input() * index now always tries to resolve page calls with ajaxHandler first and as a page last minor bug-fixes to bugs that wre not reported yet, because they didn't occur yet (e.g.: nobody tried to compose a comment with >7500 characters yet)
This commit is contained in:
@@ -277,13 +277,13 @@ class ScreenshotPage extends GenericPage
|
||||
{
|
||||
case 1:
|
||||
trigger_error('validateScreenshot - the file exceeds the maximum size of '.ini_get('upload_max_filesize'), E_USER_WARNING);
|
||||
return Lang::screenshot('error', 'selectSS');
|
||||
return Lang::screenshot('error', 'selectSS');
|
||||
case 3:
|
||||
trigger_error('validateScreenshot - upload was interrupted');
|
||||
return Lang::screenshot('error', 'selectSS');
|
||||
trigger_error('validateScreenshot - upload was interrupted', E_USER_WARNING);
|
||||
return Lang::screenshot('error', 'selectSS');
|
||||
case 4:
|
||||
trigger_error('validateScreenshot() - no file was received', E_USER_WARNING);
|
||||
return Lang::screenshot('error', 'selectSS');
|
||||
return Lang::screenshot('error', 'selectSS');
|
||||
case 6:
|
||||
trigger_error('validateScreenshot - temporary upload directory is not set', E_USER_WARNING);
|
||||
return Lang::main('intError');
|
||||
|
||||
Reference in New Issue
Block a user