#18573678 애드온 불러오는 코드 다듬기

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7087 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-12-30 13:26:01 +00:00
parent f8f1351438
commit 6f40bd03bb
4 changed files with 8 additions and 5 deletions

View file

@ -242,7 +242,7 @@
$called_position = 'before_module_proc';
$oAddonController = &getController('addon');
$addon_file = $oAddonController->getCacheFilePath();
if(file_exists($addon_file)) @include($addon_file);
@include($addon_file);
if(isset($this->xml_info->action->{$this->act}) && method_exists($this, $this->act)) {
@ -323,7 +323,7 @@
$called_position = 'after_module_proc';
$oAddonController = &getController('addon');
$addon_file = $oAddonController->getCacheFilePath();
if(file_exists($addon_file)) @include($addon_file);
@include($addon_file);
if(is_a($output, 'Object') || is_subclass_of($output, 'Object')) {
$this->setError($output->getError());