Update domframework to be gettext package compliant
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1661 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -29,7 +29,8 @@ class authparams
|
||||
/** Get informations from a HTTP authentication */
|
||||
public function http()
|
||||
{
|
||||
$realm = _("Restricted access");
|
||||
$realm = dgettext("domframework",
|
||||
"Restricted access");
|
||||
if (!isset($_SERVER['PHP_AUTH_USER']))
|
||||
{
|
||||
header("WWW-Authenticate: Basic realm=\"$realm\"");
|
||||
|
||||
Reference in New Issue
Block a user