You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: system_check.php
+19-5Lines changed: 19 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,10 @@
2
2
ini_set("memory_limit","256M");
3
3
$exif = "No";
4
4
$gd = "No";
5
+
$thumbs = "No";
5
6
if (function_exists('exif_read_data')) $exif = "Yes";
6
7
if (extension_loaded('gd') && function_exists('gd_info')) $gd = "Yes";
7
-
8
+
if (is_dir('thumbs') && is_writable('thumbs')) $thumbs = "Yes";
8
9
?>
9
10
<!DOCTYPE html>
10
11
<html>
@@ -72,7 +73,7 @@
72
73
<?phpechophpversion(); ?>
73
74
</div>
74
75
<div class="right">
75
-
<a href="http://www.php.net/" target="_blank">PHP</a> scripting language version 4.0 or greater is needed
76
+
<a href="http://www.php.net/" target="_blank">PHP</a> scripting language version 4.0 or greater is needed.
76
77
</div>
77
78
<br />
78
79
@@ -83,7 +84,7 @@
83
84
<?phpecho$gd; ?>
84
85
</div>
85
86
<div class="right">
86
-
<a href="http://www.boutell.com/gd/" target="_blank">GD image manipulation</a> library is used to create thumbnails. Bundled since PHP 4.3
87
+
<a href="http://www.boutell.com/gd/" target="_blank">GD image manipulation</a> library is used to create thumbnails. Bundled since PHP 4.3.
87
88
</div>
88
89
<br />
89
90
@@ -94,7 +95,18 @@
94
95
<?phpecho$exif; ?>
95
96
</div>
96
97
<div class="right">
97
-
Ability to extract and display <a href="http://en.wikipedia.org/wiki/Exif" target="_blank">EXIF information</a>. The script will work without it, but not display image information
98
+
Ability to extract and display <a href="http://en.wikipedia.org/wiki/Exif" target="_blank">EXIF information</a>. The script will work without it, but not display image information.
0 commit comments