소스 검색

Update to uploadclass

tags/rls1
kenn408k 6 년 전
부모
커밋
5af0005d37
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2
    3
      classes/upload.class.php

+ 2
- 3
classes/upload.class.php 파일 보기

@@ -25,15 +25,14 @@ class Upload {
25 25
             // Error! This file does not have an acceptable filetype
26 26
             $errors[] = "Filtype ikke accepteret.";
27 27
         }
28
-        
28
+
29 29
         if ($size > 5000000) {
30 30
             $errors[] = "Fil for stor.";
31 31
         }
32
-        
32
+
33 33
         if (empty($errors)) {
34 34
             // Do fileupload
35 35
         }
36
-        
37 36
     }
38 37
 
39 38
 }

Loading…
취소
저장