diff --git a/ChangeLog b/ChangeLog index 8efd774a0..451d491ea 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2003-06-11 Marc Delisle + * libraries/auth/cookie.auth.lib.php3: undefined scheme + 2003-06-10 Marc Delisle * db_details_qbe.php3: bug 751787, missing FROM part in query generator * libraries/export/sql.php3: typo largeblob -> longblob diff --git a/libraries/auth/cookie.auth.lib.php3 b/libraries/auth/cookie.auth.lib.php3 index d550e2560..1c5b9f249 100644 --- a/libraries/auth/cookie.auth.lib.php3 +++ b/libraries/auth/cookie.auth.lib.php3 @@ -18,7 +18,7 @@ if (!defined('PMA_COOKIE_AUTH_INCLUDED')) { // Defines the cookie path and whether the server is using https or not $pma_uri_parts = parse_url($cfg['PmaAbsoluteUri']); $cookie_path = substr($pma_uri_parts['path'], 0, strrpos($pma_uri_parts['path'], '/')); - $is_https = ($pma_uri_parts['scheme'] == 'https') ? 1 : 0; + $is_https = (isset($pma_uri_parts['scheme']) && $pma_uri_parts['scheme'] == 'https') ? 1 : 0; /**