[Jifty-commit] r6091 - in jifty/trunk: lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Wed Dec 10 17:21:46 EST 2008


Author: sartak
Date: Wed Dec 10 17:21:45 2008
New Revision: 6091

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Web.pm

Log:
 r76967 at onn:  sartak | 2008-12-10 17:21:40 -0500
 Jifty->web->is_ssl


Modified: jifty/trunk/lib/Jifty/Web.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web.pm	(original)
+++ jifty/trunk/lib/Jifty/Web.pm	Wed Dec 10 17:21:45 2008
@@ -1359,4 +1359,12 @@
             @{ $self->{'region_stack'} || [] }, @_;
 }
 
+=head2 is_ssl
+
+Indicates whether the current request was made using SSL.
+
+=cut
+
+sub is_ssl { $ENV{HTTPS} }
+
 1;


More information about the Jifty-commit mailing list