mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
issue 185, separate widget page cache file by ssl option
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11088 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
467e4ebd69
commit
9bcaa0f4de
4 changed files with 9 additions and 8 deletions
|
|
@ -240,7 +240,8 @@
|
|||
|
||||
if($module_info->page_type == 'WIDGET')
|
||||
{
|
||||
$cache_file = sprintf("%sfiles/cache/page/%d.%s.cache.php", _XE_PATH_, $module_info->module_srl, Context::getLangType());
|
||||
$cache_file = sprintf("%sfiles/cache/page/%d.%s.%s.cache.php", _XE_PATH_, $module_info->module_srl, Context::getLangType(), Context::getSslStatus());
|
||||
$mcacheFile = sprintf("%sfiles/cache/page/%d.%s.%s.m.cache.php", _XE_PATH_, $module_info->module_srl, Context::getLangType(), Context::getSslStatus());
|
||||
}
|
||||
else if($module_info->page_type == 'OUTSIDE')
|
||||
{
|
||||
|
|
@ -249,11 +250,10 @@
|
|||
if($module_info->mpath)
|
||||
{
|
||||
$mcacheFile = sprintf("%sfiles/cache/opage/%d.m.cache.php", _XE_PATH_, $module_info->module_srl);
|
||||
if(file_exists($mcacheFile)) FileHandler::removeFile($mcacheFile);
|
||||
}
|
||||
|
||||
}
|
||||
if(file_exists($cache_file)) FileHandler::removeFile($cache_file);
|
||||
if(file_exists($mcacheFile)) FileHandler::removeFile($mcacheFile);
|
||||
}
|
||||
|
||||
function procPageAdminArticleDocumentInsert()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue