summaryrefslogtreecommitdiff
path: root/lib/Shorturl_api.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-26 10:41:36 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-26 10:41:36 -0400
commitdf86aa721455fde537608d5faeaaf92075afb738 (patch)
tree972342bcbfb4369bab328d19be4a4dd0c8da27e4 /lib/Shorturl_api.php
parent434abed511faa045c506c75443895b7e4ce7ff3f (diff)
define LACONICA and accept LACONICA for backwards compatibility
Diffstat (limited to 'lib/Shorturl_api.php')
-rw-r--r--lib/Shorturl_api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Shorturl_api.php b/lib/Shorturl_api.php
index 018b917c1..6402dbc09 100644
--- a/lib/Shorturl_api.php
+++ b/lib/Shorturl_api.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('STATUSNET')) { exit(1); }
+if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
class ShortUrlApi
{