url::to method should use url::base.
This commit is contained in:
parent
00b512a876
commit
1372cb3ff8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue