[web-php] master: Remove duplicate definitions of `base`
| From: | sy-records via Derick Rethans | Date: | Tue, 16 Jun 2026 17:37:06 +0000 |
| Subject: | [web-php] master: Remove duplicate definitions of `base` | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-33770@lists.php.net to get a copy of this message | ||
Author: sy-records (sy-records)
Committer: Derick Rethans (derickr)
Date: 2026-06-16T18:37:03+01:00
Commit: https://github.com/php/web-php/commit/b59bb3022748185516026f772c3eafc571b2f372
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()) { ?>