瀏覽代碼

Clear the cache on operations the update the disk

Zachary Kotlarek 12 年之前
父節點
當前提交
033d0ceed6
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      web/includes/webloc.php

+ 1 - 0
web/includes/webloc.php

@@ -15,6 +15,7 @@ function writeWebloc($url, $path) {
 	$str .= '</plist>';
 
 	file_put_contents($path, $str);
+	clearCache();
 }
 
 # Find the *.webloc file, if in, in the provided folder