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:
zero 2008-01-07 07:37:37 +00:00
parent 3fb36cfb3e
commit 8995cae0cc
8 changed files with 85 additions and 12 deletions

View file

@ -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 월별 보관현황을 가져옴
**/