1
This commit is contained in:
parent
1247efbd8d
commit
0512935c70
@ -27,7 +27,7 @@ try{
|
||||
$c = $_REQUEST['c'];
|
||||
$a = $_REQUEST['a'];
|
||||
$classname = $c .'Controller';
|
||||
$obj = eval('return (new $classname())->$a();');
|
||||
$obj = eval('$obj = new $classname(); $obj->handlePre(); $obj->$a(); $obj->handlePost();');
|
||||
} catch (Exception $e){
|
||||
echo($e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user