mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
issue 87 update site grant
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8806 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
853c37ca4b
commit
bc70424fba
2 changed files with 10 additions and 4 deletions
|
|
@ -589,6 +589,11 @@
|
|||
static $lang = null;
|
||||
if(is_null($lang)) {
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
if(!$site_module_info){
|
||||
$oModuleModel = &getModel('module');
|
||||
$site_module_info = $oModuleModel->getDefaultMid();
|
||||
Context::set('site_module_info', $site_module_info);
|
||||
}
|
||||
$cache_file = sprintf('%sfiles/cache/lang_defined/%d.%s.php', _XE_PATH_, $site_module_info->site_srl, Context::getLangType());
|
||||
if(!file_exists($cache_file)) {
|
||||
$oModuleAdminController = &getAdminController('module');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue