This commit is contained in:
aozhiwei 2024-07-25 11:30:20 +08:00
parent 522ea447ab
commit 3d966c69ed

View File

@ -42,8 +42,16 @@ try{
$classname = $c .'Controller';
$beginTick = phpcommon\getTickCount();
$obj = eval('return new $classname();');
$method = new ReflectionMethod($classname, $a);
$methodS = new ReflectionMethod($classname, $a . 'S');
$method = null;
try {
$method = new ReflectionMethod($classname, $a);
} catch (Exception $e) {
}
$methodS = null;
try {
$methodS = new ReflectionMethod($classname, $a . 'S');
} catch (Exception $e){
}
if (isValidActionAction($a, $method)) {
$obj->_handlePre();
$method->invoke($obj);