fixed this reference maybe
This commit is contained in:
parent
238c24e6a4
commit
d104e5ec1c
@ -3,7 +3,7 @@ class TestAction{
|
||||
function TestAction(){
|
||||
if(isset($_POST['auth'])){
|
||||
if($_POST['auth'] == getenv('ADMIN_ACTION_KEY')){
|
||||
execute();
|
||||
$this->execute();
|
||||
}else{
|
||||
self::logMessage('you have no authorization to do that', 'FAILURE');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user