레이아웃 삭제시 해당 레이아웃 관련 캐시 파일 모두 삭제

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5106 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-12-17 06:10:53 +00:00
parent 8caba4c579
commit 20ac50a0e3

View file

@ -155,7 +155,7 @@
$cache_list = FileHandler::readDir("./files/cache/layout","",false,true);
if(count($cache_list)) {
foreach($cache_list as $cache_file) {
$pos = strpos($cache_file, $layout_srl.'_');
$pos = strpos($cache_file, $layout_srl.'.');
if($pos>0)FileHandler::removeFile($cache_file);
}
}