Browse Source

Added webm support to ricehalla

pull/24/head
Teknikode 5 years ago
parent
commit
a2d54e3400
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)\/(.*)$/";
$pattern = "/^(((image)\/(.*))|((video)\/(webm)))$/";
if(preg_match($pattern, $file_type))
{
$resizeObj = new resize($file_path);

Loading…
Cancel
Save