Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126266 - dev-db/phpmyadmin-2.7.0_p1 : little enhancement of the config.default.php
Summary: dev-db/phpmyadmin-2.7.0_p1 : little enhancement of the config.default.php
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 01:15 UTC by Toralf Förster
Modified: 2006-03-15 02:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2006-03-15 01:15:11 UTC
With this diff :
n22 /var/www/localhost/htdocs/phpmyadmin # diff -u config.default.php config.inc.php
--- config.default.php  2006-03-14 17:53:56.000000000 +0100
+++ config.inc.php      2006-03-14 17:53:03.000000000 +0100
@@ -28,7 +28,7 @@
  * test is to browse a table, then edit a row and save it.  There will be
  * an error message if phpMyAdmin cannot auto-detect the correct value.
  */
-$cfg['PmaAbsoluteUri'] = 'http://localhost//phpmyadmin';
+$cfg['PmaAbsoluteUri'] = '';

 /**
  * Disable the default warning that is displayed on the DB Details Structure page if

I prevent some nagging bugs, eg, no icons on the left side, no update of the table list on the left side after changing a database and so on.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-15 02:05:06 UTC
Well, no - this fix is wrong. You only get localhost when not using vhosts use flag, and in such case localhost is correct. Otherwise, you'll get URL for the given vhost you are installing phpmyadmin to.