image_gd_check_settings

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

includes/image.inc, строка 209

Версии
5 – 6
image_gd_check_settings()

Verify GD2 settings (that the right version is actually installed).

Возвращаемое значение

boolean

▾ 2 функции вызывают image_gd_check_settings()

image_gd_settings in includes/image.inc
Retrieve settings for the GD2 toolkit.
image_get_toolkit in includes/image.inc
Retrieve the name of the currently used toolkit.

Код

<?php
function image_gd_check_settings() {
  if ($check = get_extension_funcs('gd')) {
    if (in_array('imagegd2', $check)) {
      // GD2 support is available.
      return TRUE;
    }
  }
  return FALSE;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему