preg_match('!^([^/]+)(/.+)?$!', $server['SERVER_SOFTWARE'], $webserver);
if (stristr($webserver[1], 'Apache') && function_exists('apache_get_version')) {
If $webserver does not have any match, it won't have index 1 and give a notice. Should be simple to fix
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | acquia-spi-1895452-d6.patch | 630 bytes | coltrane |
| #1 | acquia-spi-1895452.patch | 630 bytes | coltrane |
Comments
Comment #1
coltraneThanks!
Comment #2
coltraneAnd patch for D6.
Comment #3
coltraneCommitted http://drupalcode.org/project/acquia_connector.git/commit/8c97876