Browse Source

Clear the cache on operations the update the disk

Zachary Kotlarek 12 năm trước cách đây
mục cha
commit
033d0ceed6
1 tập tin đã thay đổi với 1 bổ sung và 0 xóa
  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