changes to how testactions work

This commit is contained in:
2019-09-19 12:08:16 +02:00
parent 7c009bcd96
commit 6121e31459
9 changed files with 303 additions and 231 deletions

View File

@@ -0,0 +1,11 @@
<?php
if(isset($_POST['auth'])){
if($_POST['auth'] == getenv('ADMIN_ACTION_KEY')){
execute();
}
}else{
echol('you have no authorization to do that');
}
function execute(){
}