소스 검색

Small error in the filepath fixed.

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

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

@@ -32,7 +32,7 @@ class Upload {
32 32
         $randomname = Upload::generateRandomString(); // We give our file a random name - It will be this.
33 33
 
34 34
         $cwd = getcwd(); // Our websites CWD (Current working dir)
35
-        $uploadPath = $cwd . Config::$file_path . $randomname . '.' . $extension;
35
+        $uploadPath = $cwd .'/'. Config::$file_path . $randomname . '.' . $extension;
36 36
 
37 37
         if (!in_array($extension, Config::$file_types)) {
38 38
             // Error! This file does not have an acceptable filetype

Loading…
취소
저장