コード例 #1
0
ファイル: BaseaAssets.class.php プロジェクト: hashir/UoA
 public static function clearAssetCache(sfFilesystem $fileSystem)
 {
     $assetDir = aFiles::getUploadFolder(array('asset-cache'));
     $fileSystem->remove(sfFinder::type('file')->in($assetDir));
     $cache = aAssets::getCache();
     $cache->clean();
 }