diff --git a/system/url.php b/system/url.php index 0755ba56..9bf47dd5 100644 --- a/system/url.php +++ b/system/url.php @@ -54,7 +54,7 @@ public static function to_secure($url = '') */ public static function to_asset($url = '') { - return static::to($url, false, true); + return static::to($url, Request::is_secure(), true); } /**