]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/clientexception.php
Last type-hint is an array, added.
[quix0rs-gnu-social.git] / lib / clientexception.php
index bf26ec2eb446187ea7c63b0016ed5e0fb68e79ed..a74cab4a5fc1b3e77123126220ea36d8a4fe2069 100644 (file)
@@ -27,7 +27,7 @@
  * @link      http://status.net/
  */
 
-if (!defined('LACONICA')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -42,7 +42,6 @@ if (!defined('LACONICA')) {
  * @license  http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
  * @link     http://status.net/
  */
-
 class ClientException extends Exception
 {
     public function __construct($message = null, $code = 400) {