mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 19:02:14 +09:00
issue 160, Modify checking manager ip on genaral config
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9367 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4cb4047975
commit
3dc8f5161e
8 changed files with 83 additions and 48 deletions
|
|
@ -362,7 +362,8 @@
|
|||
|
||||
Context::set('lang_selected', Context::loadLangSelected());
|
||||
|
||||
Context::set('admin_ip', $db_info->admin_ip);
|
||||
$admin_ip_list = preg_replace("/[,]+/","\r\n",$db_info->admin_ip_list);
|
||||
Context::set('admin_ip_list', $admin_ip_list);
|
||||
|
||||
$oAdminModel = &getAdminModel('admin');
|
||||
$favicon_url = $oAdminModel->getFaviconUrl();
|
||||
|
|
@ -375,14 +376,17 @@
|
|||
|
||||
$oDocumentModel = &getModel('document');
|
||||
$config = $oDocumentModel->getDocumentConfig();
|
||||
Context::set('thumbnail_type',$config->thumbnail_type);
|
||||
Context::set('thumbnail_type',$config->thumbnail_type);
|
||||
|
||||
$oModuleAdminModel = &getAdminModel('module');
|
||||
$IP = $oModuleAdminModel->getModuleAdminCurrentIP();
|
||||
Context::set('IP',$IP);
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('module');
|
||||
Context::set('htmlFooter',$config->htmlFooter);
|
||||
Context::set('htmlFooter',$config->htmlFooter);
|
||||
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$columnList = array('modules.mid', 'modules.browser_title', 'sites.index_module_srl');
|
||||
$start_module = $oModuleModel->getSiteInfo(0, $columnList);
|
||||
Context::set('start_module', $start_module);
|
||||
|
|
@ -392,6 +396,7 @@
|
|||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('news..', 'released_version', 'download_link', 'selected_lang', 'module_list..', 'module_list..author..', 'addon_list..', 'addon_list..author..', 'start_module.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue