Commit 6cbac0e0 authored by Taylor Otwell's avatar Taylor Otwell

add note about ssl option.

parent 270e0d49
...@@ -25,6 +25,10 @@ class URL { ...@@ -25,6 +25,10 @@ class URL {
$root = Config::$items['application']['url'].'/'.Config::$items['application']['index']; $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']) if ($https and Config::$items['application']['ssl'])
{ {
$root = preg_replace('~http://~', 'https://', $root, 1); $root = preg_replace('~http://~', 'https://', $root, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment