Added some words about setting dynamically $cfgPmaAbsoluteUri

This commit is contained in:
Loïc Chapeaux
2002-03-23 22:28:13 +00:00
parent da02a67b2a
commit 2cb2132b1b
2 changed files with 9 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ $Source$
* user_password.php3, lines 16-18: fixed bug #534107 - Superusers can't
change password, thanks to
Matthias Fichtner <mfichtner at users.sourceforge.net>.
* Documentation.html, lines 382-388: added some words about setting
dynamically $cfgPmaAbsoluteUri.
2002-03-22 Marc Delisle <lem9@users.sourceforge.net>
* finnish, norwegian updates

View File

@@ -379,6 +379,13 @@
<br />
Don't forget the slash at the end of your url.
<br /><br />
This setting can be dynamically completed. For example, you can try to
use such a kind of code:
<pre>
$cfgPmaAbsoluteUri = (!empty($HTTPS) ? 'https' : 'http') . '://'
. $SERVER_NAME . (!empty($SERVER_PORT) ? ':' . $SERVER_PORT : '')
. substr($SCRIPT_NAME, 0, strrpos($SCRIPT_NAME, '/')+1);
</pre>
</dd>
<dt><b>$cfgServers</b> array</dt>