disp_system_check('ok'); } // FreeType: init_system_check('GD FreeType Support', !empty($gd_info['FreeType Support']) ? T_('Yes') : T_('No')); if (empty($gd_info['FreeType Support'])) { disp_system_check('warning', T_('You will not be able to write text to images using TrueType fonts.')); } else { disp_system_check('ok'); } // pre_dump( $gd_info ); } $block_item_Widget->disp_template_raw('block_end'); /* * Info pages */ $block_item_Widget->title = T_('Info pages'); $block_item_Widget->disp_template_replaced('block_start'); init_system_check('Default page:', '<a href="' . $baseurl . 'default.php">' . $baseurl . 'default.php</a>'); disp_system_check('note'); $block_item_Widget->disp_template_raw('block_end'); // TODO: dh> output_buffering (recommend off) // TODO: dh> session.auto_start (recommend off) // TODO: dh> How to change ini settings in .htaccess (for mod_php), link to manual // fp> all good ideas :) // TODO: dh> submit the report into a central database // fp>yope, with a Globally unique identifier in order to avoid duplicates. // pre_dump( ini_get_all() ); // End payload block: $AdminUI->disp_payload_end(); // Display body bottom, debug info and close </html>: $AdminUI->disp_global_footer();
$gif_support = T_('Read/Write'); } elseif (!empty($gd_info['GIF Read Support'])) { $gif_support = T_('Read'); } else { $gif_support = T_('No'); } init_system_check('GD GIF Support', $gif_support); if ($gif_support == T_('No')) { disp_system_check('warning', T_('You will not be able to automatically generate thumbnails for GIF images.')); } elseif ($gif_support == T_('Read')) { disp_system_check('warning', T_('Thumbnails for GIF images will be generated as PNG or JPG.')); } else { disp_system_check('ok'); } // FreeType: init_system_check('GD FreeType Support', !empty($gd_info['FreeType Support']) ? T_('Yes') : T_('No')); if (empty($gd_info['FreeType Support'])) { disp_system_check('warning', T_('You will not be able to write text to images using TrueType fonts.')); } else { disp_system_check('ok'); } // pre_dump( $gd_info ); } $block_item_Widget->disp_template_raw('block_end'); // TODO: dh> output_buffering (recommend off) // TODO: dh> session.auto_start (recommend off) // TODO: dh> How to change ini settings in .htaccess (for mod_php), link to manual // fp> all good ideas :) // TODO: dh> submit the report into a central database // fp>yope, with a Globally unique identifier in order to avoid duplicates. // pre_dump( ini_get_all() );
// PNG: init_system_check('GD PNG Support', !empty($gd_info['JPG Support']) ? T_('Read/Write') : T_('No')); if (empty($gd_info['PNG Support'])) { disp_system_check('warning', T_('You will not be able to automatically generate thumbnails for PNG images.')); } else { disp_system_check('ok'); } // GIF: if (!empty($gd_info['GIF Create Support'])) { $gif_support = T_('Read/Write'); } elseif (!empty($gd_info['GIF Read Support'])) { $gif_support = T_('Read'); } else { $gif_support = T_('No'); } init_system_check('GD GIF Support', $gif_support); if ($gif_support == T_('No')) { disp_system_check('warning', T_('You will not be able to automatically generate thumbnails for GIF images.')); } elseif ($gif_support == T_('Read')) { disp_system_check('warning', T_('Thumbnails for GIF images will be generated as PNG or JPG.')); } else { disp_system_check('ok'); } // pre_dump( $gd_info ); } $block_item_Widget->disp_template_raw('block_end'); // TODO: dh> memory_limit! // TODO: dh> output_buffering (recommend off) // TODO: dh> session.auto_start (recommend off) // TODO: dh> How to change ini settings in .htaccess (for mod_php), link to manual // fp> all good ideas :)