Added a second example for the "$cfgPmaAbsoluteUri" directive
This commit is contained in:
@@ -10,6 +10,8 @@ $Source$
|
|||||||
* lang/italian.inc.php3: updated thanks to
|
* lang/italian.inc.php3: updated thanks to
|
||||||
"DPhantom" <dphantom at users.sourceforge.net>.
|
"DPhantom" <dphantom at users.sourceforge.net>.
|
||||||
* lang/portuguese.inc.php3: updated thanks to Ant<6E>nio Raposo.
|
* lang/portuguese.inc.php3: updated thanks to Ant<6E>nio Raposo.
|
||||||
|
* Documentation.html: added a second example for the
|
||||||
|
"$cfgPmaAbsoluteUri" directive.
|
||||||
|
|
||||||
2002-04-19 Marc Delisle <lem9@users.sourceforge.net>
|
2002-04-19 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* Documentation.html "how can I make a backup?",
|
* Documentation.html "how can I make a backup?",
|
||||||
|
@@ -387,6 +387,12 @@
|
|||||||
This setting can be dynamically completed. For example, you can try to
|
This setting can be dynamically completed. For example, you can try to
|
||||||
use such a kind of code:
|
use such a kind of code:
|
||||||
<pre>
|
<pre>
|
||||||
|
$cfgPmaAbsoluteUri = (!empty($HTTPS) ? 'https' : 'http') . '://'
|
||||||
|
. $HTTP_HOST . (!empty($SERVER_PORT) ? ':' . $SERVER_PORT : '')
|
||||||
|
. substr($PHP_SELF, 0, strrpos($PHP_SELF, '/')+1);
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
$cfgPmaAbsoluteUri = (!empty($HTTPS) ? 'https' : 'http') . '://'
|
$cfgPmaAbsoluteUri = (!empty($HTTPS) ? 'https' : 'http') . '://'
|
||||||
. $SERVER_NAME . (!empty($SERVER_PORT) ? ':' . $SERVER_PORT : '')
|
. $SERVER_NAME . (!empty($SERVER_PORT) ? ':' . $SERVER_PORT : '')
|
||||||
. substr($SCRIPT_NAME, 0, strrpos($SCRIPT_NAME, '/')+1);
|
. substr($SCRIPT_NAME, 0, strrpos($SCRIPT_NAME, '/')+1);
|
||||||
|
Reference in New Issue
Block a user