File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,9 @@ if (!isset($config["languages"])) {
6161 <meta charset="utf-8">
6262 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6363
64- <base href="https://www.php.net">
64+ <?php if (!empty ($ _SERVER ["BASE_HREF " ])): ?>
65+ <base href="<?php echo $ _SERVER ["BASE_HREF " ]; ?> ">
66+ <?php endif ?>
6567
6668 <title><?php echo $ title ?> </title>
6769
@@ -103,6 +105,10 @@ if (!isset($config["languages"])) {
103105<script type="text/javascript" src="/cached.php?t=<?php echo $ modified?> &f=<?php echo $ filename?> "></script>
104106<?php endforeach ?>
105107
108+ <?php if (!empty ($ _SERVER ["BASE_HREF " ])): ?>
109+ <base href="<?php echo $ _SERVER ["BASE_HREF " ] ?> ">
110+ <?php endif ?>
111+
106112<?php if (isset ($ config ['meta_tags ' ])) { echo $ config ['meta_tags ' ]; } ?>
107113
108114<?php if (is_primary_site ()) { ?>
You can’t perform that action at this time.
0 commit comments