优化模板路径

This commit is contained in:
LyLme 2022-05-02 00:20:47 +08:00
parent 2ff3e6f8b7
commit bdba62a535
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<?php if(basename($_SERVER['PHP_SELF']) == basename(__FILE__)) header("Location:/"); ?>
<script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/bootstrap/4.5.3/js/bootstrap.min.js" type="application/javascript"></script>
<script src="<?php echo $cdnpublic ?>/template/default/js/script.js"></script>
<script src="<?php echo $templatepath;?>/js/script.js"></script>
<script src="<?php echo $cdnpublic ?>/assets/js/svg.js"></script>
<div style="display:none;" class="back-to" id="toolBackTop">
<a title="返回顶部" onclick="window.scrollTo(0,0);return false;" href="#top" class="back-top"></a>

View File

@ -20,8 +20,8 @@
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-2-M/jquery/3.5.1/jquery.min.js" type="application/javascript"></script>
<link href="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/bootstrap/4.5.3/css/bootstrap.min.css" type="text/css" rel="stylesheet">
<link rel="stylesheet" href="<?php echo $cdnpublic ?>/assets/css/fontawesome-free5.13.0.css" type="text/css">
<link rel="stylesheet" href="<?php echo $cdnpublic ?>/template/default/css/style.css" type="text/css">
<link rel="stylesheet" href="./template/default/css/font.css" type="text/css">
<link rel="stylesheet" href="<?php echo $templatepath;?>/css/style.css" type="text/css">
<link rel="stylesheet" href="<?php echo $templatepath;?>css/font.css" type="text/css">
</head>
<body onload="FocusOnInput()"><div class="banner-video">
<img src="<?php echo background()?>">