auth and strRunning
This commit is contained in:
@@ -14,6 +14,7 @@ $Source$
|
||||
|
||||
2001-12-04 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* Documentation.html: FAQ about Konqueror
|
||||
* libraries/common.lib.php3, support new $strRunning string
|
||||
|
||||
2001-12-03 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* tbl_select.php3: fixed bugs with text and time type fields.
|
||||
|
@@ -69,7 +69,8 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
||||
*/
|
||||
function PMA_auth()
|
||||
{
|
||||
header('WWW-Authenticate: Basic realm="phpMyAdmin ' . trim($GLOBALS['strRunning']) . ' ' . $GLOBALS['cfgServer']['host'] . '"');
|
||||
// header('WWW-Authenticate: Basic realm="phpMyAdmin ' . trim($GLOBALS['strRunning']) . ' ' . $GLOBALS['cfgServer']['host'] . '"');
|
||||
header('WWW-Authenticate: Basic realm="phpMyAdmin ' . sprintf($GLOBALS['strRunning'], (empty($GLOBALS['cfgServer']['verbose']) ? str_replace('\'', '\\\'',$GLOBALS['cfgServer']['host']) : str_replace('\'', '\\\'', $GLOBALS['cfgServer']['verbose']))) . '"');
|
||||
header('HTTP/1.0 401 Unauthorized');
|
||||
header('status: 401 Unauthorized');
|
||||
?>
|
||||
|
Reference in New Issue
Block a user