added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
bebff8ebbb
commit
03571f6e74
11 changed files with 309 additions and 268 deletions
|
|
@ -1061,7 +1061,7 @@ function z_mime_content_type($filename) {
|
|||
);
|
||||
|
||||
$dot = strpos($filename,'.');
|
||||
if($dot !== false) {
|
||||
if ($dot !== false) {
|
||||
$ext = strtolower(substr($filename,$dot+1));
|
||||
if (array_key_exists($ext, $mime_types)) {
|
||||
return $mime_types[$ext];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue