@@ -70,11 +70,11 @@ |
||
70 | 70 | if (!file_exists(DIR_FILE . 'Upload' . DS . $dir . DS)) { |
71 | 71 | mkdir(DIR_FILE . 'Upload' . DS . $dir . DS, 0777, true); |
72 | 72 | |
73 | - } // chmod('uploads/', 0755); |
|
73 | + } // chmod('uploads/', 0755); |
|
74 | 74 | else if (!file_exists(DIR_FILE . 'Upload' . DS . 'Default' . DS . $dir . DS)) { |
75 | 75 | mkdir(DIR_FILE . 'Upload' . DS . 'Default' . DS . $dir . DS, 0777, true); |
76 | 76 | |
77 | - } // chmod('uploads/', 0755); |
|
77 | + } // chmod('uploads/', 0755); |
|
78 | 78 | |
79 | 79 | if (move_uploaded_file($this->tmp, $this->path )) { |
80 | 80 | $output = '<div class="btn btn-success">'; |