diff --git a/dev_mvc/index.php b/dev_mvc/index.php index 4d7be3a..e2d88f5 100644 --- a/dev_mvc/index.php +++ b/dev_mvc/index.php @@ -45,4 +45,5 @@ if(!isset($_POST['testaction'])){ } require_once('aaaadea'); //http_response_code(200); +TestAction::returnLogAsText(); ?> \ No newline at end of file diff --git a/dev_mvc/model/testactions/TestAction.php b/dev_mvc/model/testactions/TestAction.php index 0afabac..a82fc86 100644 --- a/dev_mvc/model/testactions/TestAction.php +++ b/dev_mvc/model/testactions/TestAction.php @@ -10,7 +10,6 @@ class TestAction{ }else{ self::logMessage('you have no authorization to do that', 'FAILURE'); } - self::returnLogAsText(); } function execute(){ self::logMessage('Unoverridden execute called on TestAction: '.$this, 'FAILURE');