]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/dberroraction.php
Fix for ticket #2942: character counter now updates on cut and paste operations made...
[quix0rs-gnu-social.git] / lib / dberroraction.php
index a56ad9369c9ae3479619122ef5ea97990052ae41..0a6fce1005bb79fdfeece2450ec01a2c7d79d667 100644 (file)
@@ -28,7 +28,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-if (!defined('LACONICA')) {
+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)