|
|
@ -191,7 +191,9 @@ class BaseHtml |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static function cssFile($url, $options = []) |
|
|
|
public static function cssFile($url, $options = []) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
if (!isset($options['rel'])) { |
|
|
|
$options['rel'] = 'stylesheet'; |
|
|
|
$options['rel'] = 'stylesheet'; |
|
|
|
|
|
|
|
} |
|
|
|
$options['href'] = static::url($url); |
|
|
|
$options['href'] = static::url($url); |
|
|
|
return static::tag('link', '', $options); |
|
|
|
return static::tag('link', '', $options); |
|
|
|
} |
|
|
|
} |
|
|
|