mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
PHRAS-204 #fix cache icon status
This commit is contained in:
@@ -110,11 +110,11 @@ class databox_status
|
||||
$this->status[$bit]["img_on"] = null;
|
||||
|
||||
if (is_file($path . "-stat_" . $bit . "_0.gif")) {
|
||||
$this->status[$bit]["img_off"] = $url . "-stat_" . $bit . "_0.gif";
|
||||
$this->status[$bit]["img_off"] = $url . "-stat_" . $bit . "_0.gif?etag=".md5_file($path . "-stat_" . $bit . "_0.gif");
|
||||
$this->status[$bit]["path_off"] = $path . "-stat_" . $bit . "_0.gif";
|
||||
}
|
||||
if (is_file($path . "-stat_" . $bit . "_1.gif")) {
|
||||
$this->status[$bit]["img_on"] = $url . "-stat_" . $bit . "_1.gif";
|
||||
$this->status[$bit]["img_on"] = $url . "-stat_" . $bit . "_1.gif?etag=".md5_file($path . "-stat_" . $bit . "_1.gif");
|
||||
$this->status[$bit]["path_on"] = $path . "-stat_" . $bit . "_1.gif";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user