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

@@ -50,7 +50,11 @@ if ($text_dir == 'ltr') {
<head>
<title>phpMyAdmin</title>
<base href="<?php echo $cfgPmaAbsoluteUri; ?>" />
<?php
if (!empty($cfgPmaAbsoluteUri)) {
echo '<base href="' . $cfgPmaAbsoluteUri . '" />' . "\n";
}
?>
<style type="text/css">
<!--
body {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; color: #000000}