瀏覽代碼

Removed webm support as thumbnail generator doesn't support them

pull/24/head
Teknikode 6 年之前
父節點
當前提交
65e36e828e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      ricehalla/add_image.php

+ 1
- 1
ricehalla/add_image.php 查看文件

@@ -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…
取消
儲存