From 6cbac0e0641dc99689ea8c26e69530d2f73f1d00 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 11 Nov 2011 22:06:51 -0600 Subject: [PATCH] add note about ssl option. --- laravel/url.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/laravel/url.php b/laravel/url.php index 0eb2120e..1b240312 100644 --- a/laravel/url.php +++ b/laravel/url.php @@ -25,6 +25,10 @@ public static function to($url = '', $https = false) $root = Config::$items['application']['url'].'/'.Config::$items['application']['index']; + // Since SSL is often not used while developing the application, we allow the + // developer to disable SSL on all framework generated links to make it more + // convenient to work with the site while developing. When the "ssl" option + // is disabled, all links will use the HTTP protocol instead of HTTPS. if ($https and Config::$items['application']['ssl']) { $root = preg_replace('~http://~', 'https://', $root, 1);