image_gd_check_settings

  1. drupal
    1. drupal6
    2. drupal7 image.gd.inc
Versionen
drupal6 – drupal7 image_gd_check_settings()

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

Rückgabewert

A boolean indicating if the GD toolkit is avaiable on this machine.

Verwandte Themen

▾ 2 functions call image_gd_check_settings()

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

Code

includes/image.gd.inc, line 67

<?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;
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen