stable
Clone or download
Read-only
request #9202 Make phpwiki compatible with php 5.6
I tried to remove all LongArray usage but I kept the following snippet in case of /** PHP5 deprecated old-style globals if !(bool)ini_get('register_long_arrays'). * See Bug #1180115 * We want to work with those old ones instead of the new superglobals, * for easier coding. */ foreach (array('SERVER','REQUEST','GET','POST','SESSION','ENV','COOKIE') as $k) { if (!isset($GLOBALS['HTTP_'.$k.'_VARS']) and isset($GLOBALS['_'.$k])) $GLOBALS['HTTP_'.$k.'_VARS'] =& $GLOBALS['_'.$k]; } unset($k); Change-Id: I92eefe7c4e277cf1e404d0602457ac0600932c24
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/wiki/phpwiki/RPC2.php | +1 | −1 | Go to diff View file |
M | src/common/wiki/phpwiki/SOAP.php | +0 | −2 | Go to diff View file |
M | src/common/wiki/phpwiki/configurator.php | +23 | −57 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/BlockParser.php | +2 | −2 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/ErrorManager.php | +2 | −2 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/IniConfig.php | +14 | −14 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/PageList.php | +5 | −7 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/Request.php | +15 | −21 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/WikiUser.php | +0 | −4 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/WikiUser/AdoDb.php | +3 | −3 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/WikiUser/HttpAuth.php | +4 | −9 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/WikiUser/PdoDb.php | +3 | −3 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/WikiUser/PearDb.php | +3 | −3 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/WikiUser/Session.php | +2 | −2 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/WikiUserNew.php | +1 | −1 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/XmlRpcServer.php | +11 | −17 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/config.php | +7 | −19 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/fpdf.php | +5 | −6 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/imagecache.php | +7 | −8 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/install.php | +0 | −1 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/main.php | +4 | −50 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/nusoap/nusoap.php | +2 | −12 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/pear/File_Passwd.php | +1 | −1 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/plugin/ExternalSearch.php | +1 | −1 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/plugin/PhpHighlight.php | +0 | −2 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/plugin/WikiAdminSelect.php | +1 | −1 | Go to diff View file |
M | src/common/wiki/phpwiki/lib/plugin/WikiPoll.php | +0 | −2 | Go to diff View file |
M | src/common/wiki/phpwiki/passencrypt.php | +6 | −6 | Go to diff View file |