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

This commit is contained in:
Taylor Otwell 2011-11-28 23:48:48 -06:00
parent 00b512a876
commit 1372cb3ff8
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public static function to($url = '', $https = false)
{
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