Commit 1372cb3f authored by Taylor Otwell's avatar Taylor Otwell

url::to method should use url::base.

parent 00b512a8
......@@ -52,7 +52,7 @@ class URL {
{
if (filter_var($url, FILTER_VALIDATE_URL) !== false) return $url;
$root = Config::$items['application']['url'].'/'.Config::$items['application']['index'];
$root = static::base().'/'.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
......
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