Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jun 11, 2024
1 parent f510a4f commit 15cfdc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions view/css/custom/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<head>
<title>Theme <?php echo ucfirst($theme); ?> Test</title>
<link href="../../css/fontawesome-free-5.5.0-web/css/all.min.css" rel="stylesheet" type="text/css">
<link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" id="customCSS">
<link href="../../css/custom/<?php echo $theme; ?>.css" rel="stylesheet" type="text/css" id="customCSS">
<link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="../../css/custom/<?php echo $theme; ?>.css" rel="stylesheet" type="text/css" >
<link href="../../css/main.css" rel="stylesheet" type="text/css">
</head>
<body class="" >
Expand Down
8 changes: 5 additions & 3 deletions view/include/head.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,11 @@
?>
<?php
TimeLogEnd($timeLogHead, __LINE__);
?>
<link href="<?php echo getURL('view/css/custom/' . $theme . '.css'); ?>" rel="stylesheet" type="text/css" id="customCSS" />
<?php
if(!empty($theme)){
?>
<link href="<?php echo getURL('view/css/custom/' . $theme . '.css'); ?>" rel="stylesheet" type="text/css" id="customCSS" />
<?php
}
if (empty($global['userBootstrapLatest'])) {
$filename = Video::getStoragePath() . "cache/custom.css";
}
Expand Down

0 comments on commit 15cfdc6

Please sign in to comment.