캐시를 지우는 외부 툴 스크립트 추가. 파일을 핸들링할때 경로를 제대로 찾아서 처리할 수 있도록 코드 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4331 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-06-27 08:23:23 +00:00
parent 5d19990111
commit bdc194ab1d
41 changed files with 246 additions and 95 deletions

View file

@ -496,7 +496,7 @@
if(!is_array($tables)) $tables = array($tables);
foreach($tables as $alias => $table) {
$filename = sprintf('%s/cache.%s%s', $this->count_cache_path, $this->prefix, $table);
@unlink($filename);
FileHandler::removeFile($filename);
FileHandler::writeFile( $filename, '' );
}