check application.ssl in request::secure.

This commit is contained in:
Taylor Otwell
2012-04-10 11:41:02 -05:00
parent d5b9f3c604
commit 222383c83b
2 changed files with 7 additions and 6 deletions

View File

@@ -142,7 +142,7 @@ class Request {
*/
public static function secure()
{
return static::foundation()->isSecure();
return static::foundation()->isSecure() and Config::get('application.ssl');
}
/**