removed a pre-php-4.1 note.

This commit is contained in:
Alexander M. Turek
2004-07-13 21:29:11 +00:00
parent 055b61bc0b
commit b58856067c
2 changed files with 1 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ $Source$
definitions for MySQL 4.1.3 and 4.1.4. definitions for MySQL 4.1.3 and 4.1.4.
* lang/german-*.inc.php: Updates. * lang/german-*.inc.php: Updates.
* db_details_db_info.php: Fixed a few "out of sync" errors. * db_details_db_info.php: Fixed a few "out of sync" errors.
* Documentation.html: removed a pre-php-4.1 note.
2004-07-12 Marc Delisle <lem9@users.sourceforge.net> 2004-07-12 Marc Delisle <lem9@users.sourceforge.net>
* all themes/colors.inc.php, libraries/common.lib.php, * all themes/colors.inc.php, libraries/common.lib.php,

View File

@@ -376,9 +376,6 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
. (!empty($_SERVER['SERVER_PORT']) ? ':' . $_SERVER['SERVER_PORT'] : '') . (!empty($_SERVER['SERVER_PORT']) ? ':' . $_SERVER['SERVER_PORT'] : '')
. substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/')+1); . substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/')+1);
</pre> </pre>
Please note that the <tt>$_SERVER</tt> array doesn't exist in
PHP&nbsp;&lt;&nbsp;4.1.0. Try to replace <tt>$_SERVER</tt> by
<tt>$HTTP_SERVER_VARS</tt> or <tt>$GLOBALS</tt> in this case.
<br /><br /> <br /><br />
</dd> </dd>
<dt><b>$cfg['PmaAbsoluteUri_DisableWarning']</b> boolean</dt> <dt><b>$cfg['PmaAbsoluteUri_DisableWarning']</b> boolean</dt>