[Rt-commit] rt branch, 4.2/ios-homescreen, updated. rt-4.0.0rc6-158-ga9245a2
Shawn Moore
sartak at bestpractical.com
Wed Mar 9 11:51:04 EST 2011
The branch, 4.2/ios-homescreen has been updated
via a9245a244b5dc675b89c81a314a4a3f89a79209f (commit)
from d17c6cf13cf848935fc55e849da8760f5c66dd08 (commit)
Summary of changes:
.../html/{m => NoAuth}/images/apple-touch-icon.png | Bin 335 -> 335 bytes
share/html/m/_elements/header | 2 +-
share/html/m/images/autohandler | 8 --------
3 files changed, 1 insertions(+), 9 deletions(-)
rename share/html/{m => NoAuth}/images/apple-touch-icon.png (100%)
delete mode 100644 share/html/m/images/autohandler
- Log -----------------------------------------------------------------
commit a9245a244b5dc675b89c81a314a4a3f89a79209f
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Mar 9 11:50:10 2011 -0500
Move apple-touch-icon into /NoAuth/images
That way we don't have a duplicate autohandler, it's properly
NoAuth'ed, and people have already told apache how to serve the file
directly
diff --git a/share/html/m/images/apple-touch-icon.png b/share/html/NoAuth/images/apple-touch-icon.png
similarity index 100%
rename from share/html/m/images/apple-touch-icon.png
rename to share/html/NoAuth/images/apple-touch-icon.png
diff --git a/share/html/m/_elements/header b/share/html/m/_elements/header
index 79a53dd..2d5a576 100644
--- a/share/html/m/_elements/header
+++ b/share/html/m/_elements/header
@@ -60,7 +60,7 @@ $r->headers_out->{'Cache-control'} = 'no-cache';
<title><%$title%></title>
<meta name="viewport" content="width=device-width height=device-height user-scalable=yes"/>
<meta name="apple-mobile-web-app-capable" content="yes" /> <!-- hide browser chrome in webclipped RT -->
-<link rel="apple-touch-icon" href="<%RT->Config->Get('WebPath')%>/m/images/apple-touch-icon.png" /> <!-- webclipped RT app icon -->
+<link rel="apple-touch-icon" href="<%RT->Config->Get('WebPath')%>/NoAuth/images/apple-touch-icon.png" /> <!-- webclipped RT app icon -->
</head>
<body>
% if ($show_home_button) {
diff --git a/share/html/m/images/autohandler b/share/html/m/images/autohandler
deleted file mode 100644
index 7abf8b8..0000000
--- a/share/html/m/images/autohandler
+++ /dev/null
@@ -1,8 +0,0 @@
-<%INIT>
-# This autohandler will spit out RT's images if the user hasn't
-# properly configured their webserver to stop RT from passing
-# images through the mason handler.
-my $file = $m->base_comp->source_file;
-my $relfile = $m->base_comp->path;
-RT::Interface::Web->SendStaticFile( File => $file, RelativeFile => $relfile );
-</%INIT>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list