auto-detect

This commit is contained in:
Marc Delisle
2002-07-29 23:28:44 +00:00
parent fd0954e7e5
commit 6ffb65fa5c

View File

@@ -394,13 +394,20 @@
<dd>
Sets here the complete url (with full path) to your phpMyAdmin version.
E.g. <tt>http://www.your_web.net/path_to_your_phpMyAdmin_directory/</tt>.
<br />
<br /><br />
phpMyAdmin needs this setting, because of requirements of the HTTP
protocol, explained in RFC2616, section 14.30.
<br /><br />
Don't forget the slash at the end of your url. The url must contain
characters that are valid for a url, and on some servers, the path
is case-sensitive.
<br /><br />
This setting can be dynamically completed. For example, you can try to
use such a kind of code:
Starting with version 2.3.0, you can try to leave this parameter
empty, because the program tries to auto-detect its proper value.
Additional details are in the configuration file.
<br /><br />
Or, this setting can be dynamically completed. For example, you can
try to use such a kind of code:
<pre>
$cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
. $_SERVER['HTTP_HOST']