mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
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:
parent
a4ab618883
commit
e6c4a3bd2a
7 changed files with 26 additions and 47 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue