issue 160, code arrange on genaral config

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9373 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2011-09-27 10:12:00 +00:00
parent a4ab618883
commit e6c4a3bd2a
7 changed files with 26 additions and 47 deletions

View file

@ -378,9 +378,7 @@
$config = $oDocumentModel->getDocumentConfig();
Context::set('thumbnail_type',$config->thumbnail_type);
$oModuleAdminModel = &getAdminModel('module');
$IP = $oModuleAdminModel->getModuleAdminCurrentIP();
Context::set('IP',$IP);
Context::set('IP',$_SERVER['REMOTE_ADDR']);
$oModuleModel = &getModel('module');
$config = $oModuleModel->getModuleConfig('module');