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