mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 10:49:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1850 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a0526f8485
commit
bc3fba33b2
231 changed files with 2671 additions and 2132 deletions
|
|
@ -136,6 +136,17 @@
|
|||
|
||||
if($this->isError()) {
|
||||
$str .= sprintf("\t Query Failed : %d\n\t\t\t %s\n", $this->errno, $this->errstr);
|
||||
|
||||
if(__DEBUG_DB_OUTPUT==1) {
|
||||
$debug_file = "./files/_debug_db_query.php";
|
||||
$buff = sprintf("%s\n",print_r($buff,true));
|
||||
|
||||
if($display_line) $buff = "\n====================================\n".$buff."------------------------------------\n";
|
||||
|
||||
if(@!$fp = fopen($debug_file,"a")) return;
|
||||
fwrite($fp, $buff);
|
||||
fclose($fp);
|
||||
}
|
||||
} else {
|
||||
$str .= "\t Query Success\n";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -277,7 +277,8 @@
|
|||
// 현재 모듈에 act값이 있으면 해당 act를 실행
|
||||
if(method_exists($this, $this->act)) {
|
||||
//$output = call_user_method($this->act, $this);
|
||||
$output = call_user_func(array($this, $this->act));
|
||||
//$output = call_user_func(array($this, $this->act));
|
||||
$output = $this->{$this->act}();
|
||||
|
||||
// act가 없으면 action_forward에서 해당하는 act가 있는지 찾아서 대신 실행
|
||||
} else if(Context::isInstalled()) {
|
||||
|
|
@ -294,7 +295,8 @@
|
|||
$oModule->setModuleInfo($this->module_info, $xml_info);
|
||||
|
||||
//$output = call_user_method($forward->act, $oModule);
|
||||
$output = call_user_func(array($oModule, $forward->act));
|
||||
//$output = call_user_func(array($oModule, $forward->act));
|
||||
$output = $oModule->{$forward->act}();
|
||||
|
||||
$this->setTemplatePath($oModule->getTemplatePath());
|
||||
$this->setTemplateFile($oModule->getTemplateFile());
|
||||
|
|
@ -302,7 +304,8 @@
|
|||
} else {
|
||||
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 = call_user_func(array($this, $this->xml_info->default_index_act));
|
||||
$output = $this->{$this->xml_info->default_index_act}();
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -104,7 +104,8 @@
|
|||
if(method_exists($oExtendFilter, $method)) {
|
||||
// 결과를 받음
|
||||
//$extend_filter_list = call_user_method($method, $oExtendFilter, true);
|
||||
$extend_filter_list = call_user_func(array($oExtendFilter, $method));
|
||||
//$extend_filter_list = call_user_func(array($oExtendFilter, $method));
|
||||
$extend_filter_list = $oExtendFilter->{$method}();
|
||||
$extend_filter_count = count($extend_filter_list);
|
||||
|
||||
// 결과에서 lang값을 이용 문서 변수에 적용
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue