update relative links and other things

This commit is contained in:
2019-09-23 12:30:13 +02:00
parent 72319118a4
commit fbffa866f1
29 changed files with 103 additions and 148 deletions

View File

@@ -1,6 +1,6 @@
<?php
class TestAction{
function TestAction(){
function __construct(){
if(isset($_POST['auth'])){
if($_POST['auth'] == getenv('ADMIN_ACTION_KEY')){
$this->execute();
@@ -32,7 +32,7 @@ class TestAction{
echo("[".self::$log[$i]['status']."] ".self::$log[$i]['message']."\n");
if(self::$log[$i]['status'] == 'FAILURE'){
echo('<div id="test_exitstatus">ACTION FAILED</div>');
break;
return;
}
}
echo('<div id="test_exitstatus">ACTION SUCCESSFUL</div>');