]> projects.mako.cc - scuttle/blobdiff - api/httpauth.inc.php
initial patch to cause scuttle to work with PHP 8.2
[scuttle] / api / httpauth.inc.php
index bc265824fd72f6903aaf8453eb06bd330735c50c..79191cf8ca923ebd3ec8d450e5a055ba3b87ac5d 100644 (file)
@@ -5,7 +5,7 @@
 function authenticate() {
     header('WWW-Authenticate: Basic realm="del.icio.us API"');
     header('HTTP/1.0 401 Unauthorized');
-    die("Use of the API calls requires authentication.");
+    die(T_('Use of the API calls requires authentication.'));
 }
 
 if (!isset($_SERVER['PHP_AUTH_USER'])) {

Benjamin Mako Hill || Want to submit a patch?