diff --git a/classes/view.class.php b/classes/view.class.php index e7cf6e8e2..0d42521fc 100644 --- a/classes/view.class.php +++ b/classes/view.class.php @@ -28,7 +28,15 @@ public static function show_header(string $pageTitle, $option = []) { 'global.css', ]; if (!empty($option['css'])) { - $Style = array_merge($Style, explode(',', $option['css'])); + $Style = array_merge( + $Style, + array_map( + function ($style) { + return $style . "/style.css"; + }, + explode(',', $option['css']) + ) + ); } $Scripts = [