} else { $result = $lang["status-ok"]; } ?> <tr><td><?php echo str_replace("?", "post_max_size", $lang["phpinivalue"]); ?> </td><td><?php echo $post_max_size; ?> </td><td><b><?php echo $result; ?> </b></td></tr><?php $upload_max_filesize = ini_get("upload_max_filesize"); if (ResolveKB($upload_max_filesize) < 100 * 1024) { $result = $lang["status-warning"] . ": " . str_replace("?", "100M", $lang["shouldbeormore"]); } else { $result = $lang["status-ok"]; } ?> <tr><td><?php echo str_replace("?", "upload_max_filesize", $lang["phpinivalue"]); ?> </td><td><?php echo $upload_max_filesize; ?> </td><td><b><?php echo $result; ?> </b></td></tr><?php
$version=$lang["status-notinstalled"]; $result=$lang["status-fail"]; } ?><tr><td><?php echo str_replace("?", "GD", $lang["softwareversion"]); ?></td><td><?php echo $version?></td><td><b><?php echo $result?></b></td></tr><?php # Check ini values for memory_limit, post_max_size, upload_max_filesize $memory_limit=ini_get("memory_limit"); if (ResolveKB($memory_limit)<(200*1024)) {$result=$lang["status-warning"] . ": " . str_replace("?", "200M", $lang["shouldbeormore"]);} else {$result=$lang["status-ok"];} ?><tr><td><?php echo str_replace("?", "memory_limit", $lang["phpinivalue"]); ?></td><td><?php echo $memory_limit?></td><td><b><?php echo $result?></b></td></tr><?php $post_max_size=ini_get("post_max_size"); if (ResolveKB($post_max_size)<(100*1024)) {$result=$lang["status-warning"] . ": " . str_replace("?", "100M", $lang["shouldbeormore"]);} else {$result=$lang["status-ok"];} ?><tr><td><?php echo str_replace("?", "post_max_size", $lang["phpinivalue"]); ?></td><td><?php echo $post_max_size?></td><td><b><?php echo $result?></b></td></tr><?php $upload_max_filesize=ini_get("upload_max_filesize"); if (ResolveKB($upload_max_filesize)<(100*1024)) {$result=$lang["status-warning"] . ": " . str_replace("?", "100M", $lang["shouldbeormore"]);} else {$result=$lang["status-ok"];} ?><tr><td><?php echo str_replace("?", "upload_max_filesize", $lang["phpinivalue"]); ?></td><td><?php echo $upload_max_filesize?></td><td><b><?php echo $result?></b></td></tr><?php # Check write access to filestore $success=is_writable($storagedir); if ($success===false) {$result=$lang["status-fail"] . ": " . $lang["nowriteaccesstofilestore"];} else {$result=$lang["status-ok"];} ?><tr><td colspan="2"><?php echo $lang["writeaccesstofilestore"] ?></td><td><b><?php echo $result?></b></td></tr><?php # Check write access to homeanim (if transform plugin is installed) if (in_array("transform",$plugins)){ $success=is_writable(dirname(__FILE__) . "/../".$homeanim_folder); if ($success===false) {$result=$lang["status-fail"] . ": " . $lang["nowriteaccesstohomeanim"];} else {$result=$lang["status-ok"];} ?><tr><td colspan="2"><?php echo $lang["writeaccesstohomeanim"] ?></td><td><b><?php echo $result?></b></td></tr> <?php } # Check filestore folder browseability