Make wfIniGetBool() more accurate:
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 26 Sep 2007 17:59:29 +0000 (17:59 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 26 Sep 2007 17:59:29 +0000 (17:59 +0000)
commit1a45c87c478847e11e3e78cf89a9df7227bf246e
tree56815cbe90a0f2718ad446c0216d5ac54858ed9d
parent3c94cf0a9b795d617fee9a75ab65fc2c1b9f4c51
Make wfIniGetBool() more accurate:
* accepts 'yes' as well as 'on' and 'true'
* accepts negative and non-1 integers, as well as garbage characters after the number (as C atoi() function for nonzero result)
includes/GlobalFunctions.php