Author: sy-records (sy-records)
Committer: Derick Rethans (derickr)
Date: 2026-06-16T18:37:03+01:00
Commit: Remove duplicate definitions of `base` · php/web-php@b59bb30 · GitHub
Raw diff: https://github.com/php/web-php/commit/b59bb3022748185516026f772c3eafc571b2f372.diff
Remove duplicate definitions of `base`
Changed paths:
M include/header.inc
Diff:
diff --git a/include/header.inc b/include/header.inc
index 48722edafa..8cbf3221da 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -105,10 +105,6 @@ if (!isset($config["languages"])) {
<script type="text/javascript" src="/cached.php?t=<?php echo $modified?>&f=<?php echo $filename?>"></script>
<?php endforeach ?>
-<?php if (!empty($_SERVER["BASE_HREF"])): ?>
- <base href="<?php echo $_SERVER["BASE_HREF"] ?>">
-<?php endif ?>
-
<?php if (isset($config['meta_tags'])) { echo $config['meta_tags']; } ?>
<?php if (is_primary_site()) { ?>