mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#915)
This commit is contained in:
parent
5e42154272
commit
7ff2437186
4 changed files with 6 additions and 6 deletions
|
@ -11,10 +11,10 @@ if (!defined('IN_AJAX')) {
|
|||
die(basename(__FILE__));
|
||||
}
|
||||
|
||||
global $userdata;
|
||||
global $userdata, $lang;
|
||||
|
||||
if (!IS_SUPER_ADMIN) {
|
||||
$this->ajax_die('not auth');
|
||||
$this->ajax_die($lang['NOT_AUTHORISED']);
|
||||
}
|
||||
|
||||
array_deep($this->request, 'trim');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue