diff options
author | brenda <brenda@pukeko.(none)> | 2009-11-14 16:52:39 +1300 |
---|---|---|
committer | brenda <brenda@pukeko.(none)> | 2009-11-14 16:52:39 +1300 |
commit | 2147ac510f5489c860a4bebf3ab48a069b89ecfb (patch) | |
tree | 83e371e25c6f26a27aca2773afb635ac4aa07cfe /lib | |
parent | ab135faa7525924edc250850e9a6bcbc6ca4cee2 (diff) |
don't offer install.php on check-fancy requests
this time, E_STRICT compliant
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common.php | 3 |
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 |