Bug #54593

ini_get return value has changed for PHP >=5.3.0 -> changed check-implementation needed!

Added by Chr is over 1 year ago.

Status:New Start date:2013-12-25
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
Affected Flow version:(any)

Description

There is a function ini_get(...) used in

  TYPO3-Neos/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php

The return value is checked to the presence of an empty string like this:

  if (ini_get('date.timezone') === '') {
  // payload
  }

The return value has changed for PHP Versions >=5.3.0

See PHP Changelog1 for function ini_get(...):

5.3.0 Previously, the empty string was returned if the configuration option didn't exist. now, FALSE is returned instead.

[1] http://www.php.net/manual/en/function.ini-get.php

Also available in: Atom PDF