undefined scheme in cookie mode
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2003-06-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* libraries/auth/cookie.auth.lib.php3: undefined scheme
|
||||||
|
|
||||||
2003-06-10 Marc Delisle <lem9@users.sourceforge.net>
|
2003-06-10 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* db_details_qbe.php3: bug 751787, missing FROM part in query generator
|
* db_details_qbe.php3: bug 751787, missing FROM part in query generator
|
||||||
* libraries/export/sql.php3: typo largeblob -> longblob
|
* libraries/export/sql.php3: typo largeblob -> longblob
|
||||||
|
@@ -18,7 +18,7 @@ if (!defined('PMA_COOKIE_AUTH_INCLUDED')) {
|
|||||||
// Defines the cookie path and whether the server is using https or not
|
// Defines the cookie path and whether the server is using https or not
|
||||||
$pma_uri_parts = parse_url($cfg['PmaAbsoluteUri']);
|
$pma_uri_parts = parse_url($cfg['PmaAbsoluteUri']);
|
||||||
$cookie_path = substr($pma_uri_parts['path'], 0, strrpos($pma_uri_parts['path'], '/'));
|
$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;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user