more testing\

This commit is contained in:
Andreas 2019-09-17 15:22:54 +02:00
parent 9893dd31fe
commit d0c3914377

View File

@ -1,8 +1,10 @@
<?php <?php
echol($_POST['auth']); echol($_POST['auth']);
echol(getenv('ADMIN_ACTION_KEY'));
if(isset($_POST['auth'])){ if(isset($_POST['auth'])){
echol('auth is set');
if($_POST['auth'] == getenv('ADMIN_ACTION_KEY')){ if($_POST['auth'] == getenv('ADMIN_ACTION_KEY')){
echo('test2'); echo('auth is the same as admin action key');
} }
}else{ }else{
echo('test'); echo('test');