Browse Source

Removed webm support as thumbnail generator doesn't support them

pull/24/head
Teknikode 4 years ago
parent
commit
65e36e828e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ricehalla/add_image.php

+ 1
- 1
ricehalla/add_image.php View File

@@ -23,7 +23,7 @@ if(isset($_POST) && $logged_in)
$file_path = $temp_path;
}
$file_type = $file_db['type'];
$pattern = "/^(((image)\/(.*))|((video)\/(webm)))$/";
$pattern = "/^(image)\/(.*)$/";
if(preg_match($pattern, $file_type))
{
$resizeObj = new resize($file_path);

Loading…
Cancel
Save