patch #515199 - Problem with <base href=""> thanks to Alexander M. Turek

This commit is contained in:
Loïc Chapeaux
2002-02-09 15:02:04 +00:00
parent 7b57e9aeb4
commit 507c05f6f1
3 changed files with 8 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ PMA_setFontSizes();
<head>
<title>phpMyAdmin</title>
<base href="<?php echo $cfgPmaAbsoluteUri; ?>" target="phpmain" />
<base<?php if (!empty($cfgPmaAbsoluteUri)) echo ' href="' . $cfgPmaAbsoluteUri . '"'; ?> target="phpmain" />
<?php
// Expandable/collapsible databases list is only used if there is more than one
// database to display