mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
Merge pull request #569 from torrentpier/ajax-check-if-is-ajax
Check if request is ajax
This commit is contained in:
commit
bbcd7a1c2f
3 changed files with 10 additions and 0 deletions
|
@ -147,6 +147,7 @@ define('SEARCH_TYPE_TRACKER', 1);
|
|||
// Ajax error codes
|
||||
define('E_AJAX_GENERAL_ERROR', 1000);
|
||||
define('E_AJAX_NEED_LOGIN', 1001);
|
||||
define('E_AJAX_NOT_REQUEST', 1002);
|
||||
|
||||
// Private messaging
|
||||
define('PRIVMSGS_READ_MAIL', 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue