mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 08:49:56 +09:00
잘못된 act 호출을 대비하여 act에 해당하는 method가 있는지 체크
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1983 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
26cd370517
commit
8988a1fade
1 changed files with 3 additions and 1 deletions
|
|
@ -313,7 +313,9 @@
|
|||
if($this->xml_info->default_index_act) {
|
||||
//$output = call_user_method($this->xml_info->default_index_act, $this);
|
||||
//$output = call_user_func(array($this, $this->xml_info->default_index_act));
|
||||
$output = $this->{$this->xml_info->default_index_act}();
|
||||
if(method_exists($this, $this->xml_info->default_index_act)) {
|
||||
$output = $this->{$this->xml_info->default_index_act}();
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue