]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't offer install.php on check-fancy requests
authorbrenda <brenda@pukeko.(none)>
Sat, 14 Nov 2009 03:52:39 +0000 (16:52 +1300)
committerbrenda <brenda@pukeko.(none)>
Sat, 14 Nov 2009 03:52:39 +0000 (16:52 +1300)
this time, E_STRICT compliant

lib/common.php

index fbe4216e3d498185af8b38d940a669cdc313f6ec..4524d50fa86d9e0e91a55770fb86e3416c4e2ca5 100644 (file)
@@ -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