Browse Source

Utilise QUERY_STRING plutôt que PATH_INFO pour favicons

Corrige https://github.com/marienfressinaud/FreshRSS/issues/348
Revenir dessus en cas de problème de cache HTTP des favicons.
Alexandre Alapetite 12 năm trước cách đây
mục cha
commit
6eea96656a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Models/Feed.php

+ 1 - 1
app/Models/Feed.php

@@ -116,7 +116,7 @@ class FreshRSS_Feed extends Minz_Model {
 		@unlink($path . '.txt');
 	}
 	public function favicon () {
-		return Minz_Url::display ('/f.php/' . $this->hash());
+		return Minz_Url::display ('/f.php?' . $this->hash());
 	}
 
 	public function _id ($value) {