From d90e30c37881d4e715b2c798046830242e382d1c Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 28 Jun 2009 17:07:12 -0700 Subject: Rename the combined javascript controller from javascript/combined to combined/javascript. --- modules/gallery/controllers/javascript.php | 62 ------------------------------ 1 file changed, 62 deletions(-) delete mode 100644 modules/gallery/controllers/javascript.php (limited to 'modules/gallery/controllers/javascript.php') diff --git a/modules/gallery/controllers/javascript.php b/modules/gallery/controllers/javascript.php deleted file mode 100644 index ba5cbf4b..00000000 --- a/modules/gallery/controllers/javascript.php +++ /dev/null @@ -1,62 +0,0 @@ -get("{$key}_gz"); - } - - if (empty($content)) { - $content = $cache->get($key); - } - - if (empty($content)) { - Kohana::show_404(); - } - - if (strpos($_SERVER["HTTP_ACCEPT_ENCODING"], "gzip") !== false) { - header("Content-Encoding: gzip"); - header("Cache-Control: public"); - } - - header("Content-Type: text/javascript; charset=UTF-8"); - header("Expires: Tue, 19 Jan 2038 00:00:00 GMT"); - header("Last-Modified: " . gmdate("D, d M Y H:i:s T", time())); - - Kohana::close_buffers(false); - print $content; - } -} - -- cgit v1.2.3