From: brenda Date: Sat, 14 Nov 2009 03:52:39 +0000 (+1300) Subject: don't offer install.php on check-fancy requests X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2147ac510f5489c860a4bebf3ab48a069b89ecfb;p=quix0rs-gnu-social.git don't offer install.php on check-fancy requests this time, E_STRICT compliant --- diff --git a/lib/common.php b/lib/common.php index fbe4216e3d..4524d50fa8 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