mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Add a cache-buster to the SWF url so that it'll refresh in the browser
every time the SWF file changes.
This commit is contained in:
@@ -47,6 +47,8 @@ class Organize_Controller extends Controller {
|
||||
$v->access_key = rest::get_access_key($user->id)->access_key;
|
||||
|
||||
$v->protocol = (empty($_SERVER["HTTPS"]) OR $_SERVER["HTTPS"] === "off") ? "http" : "https";
|
||||
$v->swf_url = url::file("modules/organize/lib/Gallery3WebClient.swf?") .
|
||||
filemtime(MODPATH . "organize/lib/Gallery3WebClient.swf");
|
||||
print $v;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user