Changeset 2343
- Timestamp:
- 06/24/09 00:26:02 (9 months ago)
- Files:
-
- 1 modified
-
coldbox/trunk/system/beans/RequestContext.cfc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
coldbox/trunk/system/beans/RequestContext.cfc
r2288 r2343 513 513 </cffunction> 514 514 515 <cffunction name="isSSL" access="public" returntype="boolean" hint="Returns boolean result whether current request is in ssl or not" output="false"> 516 <cfscript> 517 var isSSLRequest = false; 518 if (isBoolean(cgi.server_port_secure) && cgi.server_port_secure) { 519 isSSLRequest = true; 520 } 521 return isSSLRequest; 522 </cfscript> 523 </cffunction> 524 515 525 <cffunction name="isViewDispatched" access="public" returntype="boolean" hint="Determine if we need to dispatch a view" output="false" > 516 526 <cfreturn instance.isViewDispatched>
