mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-11 06:22:20 +09:00
blog module make categories cache file by php
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3479 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3fb36cfb3e
commit
8995cae0cc
8 changed files with 85 additions and 12 deletions
|
|
@ -461,11 +461,23 @@
|
|||
$xml_file = sprintf('files/cache/document_category/%s.xml.php',$module_srl);
|
||||
if(!file_exists($xml_file)) {
|
||||
$oDocumentController = &getController('document');
|
||||
$oDocumentController->makeCategoryXmlFile($module_srl);
|
||||
$oDocumentController->makeCategoryFile($module_srl);
|
||||
}
|
||||
return $xml_file;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 문서 category정보의 php 캐시 파일을 return
|
||||
**/
|
||||
function getCategoryPhpFile($module_srl) {
|
||||
$php_file = sprintf('files/cache/document_category/%s.php',$module_srl);
|
||||
if(!file_exists($php_file)) {
|
||||
$oDocumentController = &getController('document');
|
||||
$oDocumentController->makeCategoryFile($module_srl);
|
||||
}
|
||||
return $php_file;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 월별 글 보관현황을 가져옴
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue