Skip to content

Commit

Permalink
Add access denied to admin php
Browse files Browse the repository at this point in the history
  • Loading branch information
ganlvtech committed Nov 28, 2018
1 parent c83e982 commit fad9b53
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions admin_fingerprint.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

namespace Ganlv\UserFingerprint;

if (!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) {
exit('Access Denied');
}

require_once __DIR__ . '/function/function_admin_template.php';

admin_render('fingerprint');
4 changes: 4 additions & 0 deletions admin_sid.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

namespace Ganlv\UserFingerprint;

if (!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) {
exit('Access Denied');
}

require_once __DIR__ . '/function/function_admin_template.php';

admin_render('sid');
4 changes: 4 additions & 0 deletions admin_user.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

namespace Ganlv\UserFingerprint;

if (!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) {
exit('Access Denied');
}

require_once __DIR__ . '/function/function_admin_template.php';

admin_render('user');

0 comments on commit fad9b53

Please sign in to comment.