might have fixed the issue

This commit is contained in:
2019-09-30 14:52:26 +02:00
parent 2f58e65ad3
commit ed609942c2
4 changed files with 6 additions and 2 deletions

View File

@@ -69,8 +69,8 @@ class MVCController{
//check if testaction is valid
if(file_exists($this->testaction)){
//execute testaction
require_once($this->testaction);
$testactionClassname = "TA_".$_POST['testaction'];
//require_once($this->testaction);
$testactionClassname = "model\testactions\\". "TA_".$_POST['testaction'];
$testactionInstance = new $testactionClassname();
}