]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/dberroraction.php
Misses this file to merge. I like the comments.
[quix0rs-gnu-social.git] / lib / dberroraction.php
index bd8ccdd3109276e5e551be1ef6f0e3d17d56c670..8f628fba172724377c966ccad180f76c74f27b76 100644 (file)
@@ -28,7 +28,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-if (!defined('STATUSNET')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -47,7 +47,6 @@ require_once INSTALLDIR.'/lib/servererroraction.php';
  * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
  * @link     http://status.net/
  */
-
 class DBErrorAction extends ServerErrorAction
 {
     function __construct($message='Error', $code=500)
@@ -57,6 +56,7 @@ class DBErrorAction extends ServerErrorAction
 
     function title()
     {
+        // TRANS: Page title for when a database error occurs.
         return _('Database error');
     }