diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-06-17 09:57:38 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-17 09:57:38 -0700 |
commit | 359235182ebb14c75b495a889a2298d1e0130d77 (patch) | |
tree | 23ae35cc3620fa66258905336e136fe7850aadff /modules/organize/controllers | |
parent | a03e3d1dc1b59e45e5b0dbf4cf23eed91d545c25 (diff) |
Add a cache-buster to the SWF url so that it'll refresh in the browser
every time the SWF file changes.
Diffstat (limited to 'modules/organize/controllers')
-rw-r--r-- | modules/organize/controllers/organize.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/organize/controllers/organize.php b/modules/organize/controllers/organize.php index d688a76d..488f1eb1 100644 --- a/modules/organize/controllers/organize.php +++ b/modules/organize/controllers/organize.php @@ -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; } |