| @@ 196-201 (lines=6) @@ | ||
| 193 | } |
|
| 194 | ||
| 195 | // Is MySQL available? |
|
| 196 | if (!function_exists('mysqli_connect')) { |
|
| 197 | $errors[] = array( |
|
| 198 | 'msg' => __('MySQLi extension not present'), |
|
| 199 | 'details' => __('Symphony requires PHP to be configured with MySQLi to work.') |
|
| 200 | ); |
|
| 201 | } |
|
| 202 | ||
| 203 | // Is ZLib available? |
|
| 204 | if (!extension_loaded('zlib')) { |
|
| @@ 228-233 (lines=6) @@ | ||
| 225 | } |
|
| 226 | ||
| 227 | // Is json_encode available? |
|
| 228 | if (!function_exists('json_decode')) { |
|
| 229 | $errors[] = array( |
|
| 230 | 'msg' => __('JSON functionality is not present'), |
|
| 231 | 'details' => __('Symphony uses JSON functionality throughout the backend for translations and the interface.') |
|
| 232 | ); |
|
| 233 | } |
|
| 234 | ||
| 235 | // Cannot write to root folder. |
|
| 236 | if (!is_writable(DOCROOT)) { |
|