diff options
Diffstat (limited to 'src/usr/local/www/head.inc')
-rwxr-xr-x | src/usr/local/www/head.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index d8dcb88..fe8d34c 100755 --- a/src/usr/local/www/head.inc +++ b/src/usr/local/www/head.inc @@ -67,12 +67,21 @@ if (isset($config['system']['webgui']['pagenamefirst'])) { } else { $tabtitle = $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pagetitle; } + +$cssfile = "/bootstrap/css/pfSense.css"; + +if (isset($config['system']['webgui']['webguicss'])) { + if(file_exists("bootstrap/css/" . $config['system']['webgui']['webguicss'])) { + $cssfile = "/bootstrap/css/" . $config['system']['webgui']['webguicss']; + } +} + ?> <!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> - <link rel="stylesheet" href="/bootstrap/css/pfSense.css" /> + <link rel="stylesheet" href="<?=$cssfile?>" /> <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="sortable/sortable-theme-bootstrap.css"> <title><?=$tabtitle?></title> |