-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtool-info.php
More file actions
55 lines (55 loc) · 1.71 KB
/
tool-info.php
File metadata and controls
55 lines (55 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
include_once dirname(__FILE__)."/functions.php";
include_once dirname(__FILE__)."/auth.php";
include dirname(__FILE__)."/conf.php";
if($cfg->authentification_needed && !$userlogin)
{
exit();
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="dialog-table dialog-about">
<tr>
<td width="40%">Time Zone</td>
<td><?php echo ini_get('date.timezone');?></td>
</tr>
<tr>
<td>File Upload</td>
<td><?php echo ini_get('file_uploads')?'Enabled':'Disabled';?></td>
</tr>
<tr>
<td>Max. File Upload</td>
<td><?php echo ini_get('max_file_uploads');?></td>
</tr>
<tr>
<td>Max. File Upload Size</td>
<td><?php echo ini_get('upload_max_filesize');?></td>
</tr>
<tr>
<td>Max. Post Size</td>
<td><?php echo ini_get('post_max_size');?></td>
</tr>
<tr>
<td>PHP-ZIP</td>
<td><?php echo class_exists('ZipArchive')?'Installed':'Not Installed';?> (Required)</td>
</tr>
<tr>
<td>PHP-GD</td>
<td><?php echo function_exists('imagecreate')?'Installed':'Not Installed';?> (Required)</td>
</tr>
<tr>
<td>PHP-EXIF</td>
<td><?php echo function_exists('exif_read_data')?'Installed':'Not Installed';?> (Optional)</td>
</tr>
<tr>
<td>Authentification</td>
<td><?php echo (@$cfg->authentification_needed)?'Required':'Not Required';?></td>
</tr>
<tr>
<td>Permission Directory</td>
<td><span class="permission-info"><?php echo substr(sprintf('%o', fileperms(@$cfg->rootdir)), -4);?></span></td>
</tr>
<tr>
<td>Read Only Mode</td>
<td><?php echo (@$cfg->readonly)?'Yes':'No';?></td>
</tr>
</table>