diff options
Diffstat (limited to 'app/Core/Helper.php')
-rw-r--r-- | app/Core/Helper.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Core/Helper.php b/app/Core/Helper.php index 7f6b2fd1..740ff7c2 100644 --- a/app/Core/Helper.php +++ b/app/Core/Helper.php @@ -129,11 +129,13 @@ class Helper * Add a stylesheet asset * * @param string $filename Filename + * @param boolean $is_file Add file timestamp + * @param string $media Media * @return string */ - public function css($filename, $is_file = true) + public function css($filename, $is_file = true, $media = 'screen') { - return '<link rel="stylesheet" href="'.$filename.($is_file ? '?'.filemtime($filename) : '').'" media="screen">'; + return '<link rel="stylesheet" href="'.$filename.($is_file ? '?'.filemtime($filename) : '').'" media="'.$media.'">'; } /** |