[Solar-talk] Test Suite / 'run' = false

Rodrigo Moraes rodrigo.moraes at gmail.com
Mon Sep 18 06:20:08 PDT 2006


Hi,
The APC test checks if the extension is loaded, but not if it is
enabled (I have it loaded but disabled). To make a better test, add
the 'extension enabled' check:

if (! (extension_loaded('apc') && ini_get('apc.enabled')) ) { [...]

I guess the same applies to the other adapters tests, because they
only check if the extension is loaded.

rodrigo


More information about the solar-talk mailing list