Explorar o código

Merge branch 'rmaster' of 39.97.239.116:gyfl/xyzshop into rmaster

stanley-king %!s(int64=4) %!d(string=hai) anos
pai
achega
7315047aea
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      upfile.php

+ 2 - 1
upfile.php

@@ -65,9 +65,10 @@ if ($_FILES)
         if ($result) {
             $ret['file_path'] = $filename;
             $ret['file_site_path'] = $base_site_path .'/' . $filename;
+            $ret['base'] = BASE_ROOT_PATH;
             upfile_joutput_data($ret);
         } else {
-            upfile_joutput_error(7,[$dest_file]);
+            upfile_joutput_error(7,[BASE_ROOT_PATH]);
         }
     }
 }