summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorbrenda <brenda@pukeko.(none)>2009-11-14 16:52:39 +1300
committerbrenda <brenda@pukeko.(none)>2009-11-14 16:52:39 +1300
commit2147ac510f5489c860a4bebf3ab48a069b89ecfb (patch)
tree83e371e25c6f26a27aca2773afb635ac4aa07cfe /lib
parentab135faa7525924edc250850e9a6bcbc6ca4cee2 (diff)
don't offer install.php on check-fancy requests
this time, E_STRICT compliant
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index fbe4216e3..4524d50fa 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -19,6 +19,9 @@
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
+//exit with 200 response, if this is checking fancy from the installer
+if (isset($_REQUEST['p']) && $_REQUEST['p'] == 'check-fancy') { exit; }
+
define('STATUSNET_VERSION', '0.9.0dev');
define('LACONICA_VERSION', STATUSNET_VERSION); // compatibility