[TYPO3-core] RFC #15075: feature: make a pre-check for required php-extensions

Jigal van Hemert jigal at xs4all.nl
Sun Sep 19 11:04:19 CEST 2010


Hi,

On 13-8-2010 7:43, Xavier Perseguers wrote:
> => DBAL should have a chance to autoload before your test

This is simply impossible. DBAL autoloads after the session is 
initiated. 'session' is one of the required PHP modules. So the check 
has to be done before the modules are actually used.

> => Your getMissingPHPModules() method should provide a hook that DBAL
> would use to override the list of modules

I have included a hook to set the required modules. So DBAL can use this 
to remove any db related modules and do the appropriate tests by itself 
or include other modules as it pleases.

> - use "protected" instead of "var" for member declaration. Var is a

Changed :-)

To remind everybody of the scope of the patch:
The check is only active in the 1-2-3 mode of the installer and tests 
for a series of PHP modules which are required for TYPO3. This prevents 
ugly fatal errors if functions from these modules are used later on.

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15075_v5.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100919/1eac4a16/attachment.asc>


More information about the TYPO3-team-core mailing list