projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab135fa
)
don't offer install.php on check-fancy requests
author
brenda
<brenda@pukeko.(none)>
Sat, 14 Nov 2009 03:52:39 +0000
(16:52 +1300)
committer
brenda
<brenda@pukeko.(none)>
Sat, 14 Nov 2009 03:52:39 +0000
(16:52 +1300)
this time, E_STRICT compliant
lib/common.php
patch
|
blob
|
history
diff --git
a/lib/common.php
b/lib/common.php
index fbe4216e3d498185af8b38d940a669cdc313f6ec..4524d50fa86d9e0e91a55770fb86e3416c4e2ca5 100644
(file)
--- 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