From 2cb2132b1be602a6a2626aa393ddd16080a3c023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 23 Mar 2002 22:28:13 +0000 Subject: [PATCH] Added some words about setting dynamically $cfgPmaAbsoluteUri --- ChangeLog | 2 ++ Documentation.html | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index e1fd8388dc..31a2b71f84 100755 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,8 @@ $Source$ * user_password.php3, lines 16-18: fixed bug #534107 - Superusers can't change password, thanks to Matthias Fichtner . + * Documentation.html, lines 382-388: added some words about setting + dynamically $cfgPmaAbsoluteUri. 2002-03-22 Marc Delisle * finnish, norwegian updates diff --git a/Documentation.html b/Documentation.html index 983e204613..30a457bd4b 100755 --- a/Documentation.html +++ b/Documentation.html @@ -379,6 +379,13 @@
Don't forget the slash at the end of your url.

+ This setting can be dynamically completed. For example, you can try to + use such a kind of code: +
+$cfgPmaAbsoluteUri = (!empty($HTTPS) ? 'https' : 'http') . '://'
+                   . $SERVER_NAME . (!empty($SERVER_PORT) ? ':' . $SERVER_PORT : '')
+                   . substr($SCRIPT_NAME, 0, strrpos($SCRIPT_NAME, '/')+1);
+        
$cfgServers array