00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 if (function_exists("gd_info"))
00023 {
00024 $info = gd_info();
00025 $ver = $info['GD Version'];
00026 }
00027 $module = array(
00028 "name" => "GD Library support",
00029 "var" => "gdlib",
00030 "type" => "function_check",
00031 "functions" => "imagecreatetruecolor:imagecreatefromjpeg:imagecreatefromgif:imagecreatefrompng:imagecopyresampled:imagejpeg:imagegif:imagepng",
00032 "serious" => true,
00033 "error" => 7,
00034 "warning" => 0,
00035 "passed" => "All needed GD functions founded.",
00036 "failed" => "Too many (or all) GD functions were missing. Please check that you have GD 2.0.0 or newer installed in PHP!<br />".(($ver != "") ? "Currently installed PHP: $ver" : "No GD installed!"),
00037 "notpassed" => "Some functions are missing from GD support. You will need GD 2.0.0 or newer!");
00038 ?>