Interface design: change API name in API login box
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@91 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
a21dca2228
commit
920f836e29
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
// with the user's info.
|
// with the user's info.
|
||||||
|
|
||||||
function authenticate() {
|
function authenticate() {
|
||||||
header('WWW-Authenticate: Basic realm="del.icio.us API"');
|
header('WWW-Authenticate: Basic realm="SemanticScuttle API"');
|
||||||
header('HTTP/1.0 401 Unauthorized');
|
header('HTTP/1.0 401 Unauthorized');
|
||||||
die("Use of the API calls requires authentication.");
|
die("Use of the API calls requires authentication.");
|
||||||
}
|
}
|
||||||
|
@ -19,4 +19,4 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
|
||||||
authenticate();
|
authenticate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue